add so-long config to handle files with very long lines

This commit is contained in:
2021-01-24 22:19:34 +01:00
parent c49265262d
commit 2cf9b48b3d

View File

@@ -188,6 +188,13 @@ with a drive letter and a colon.")
;; truncate lines even in partial-width windows
;;(setq truncate-partial-width-windows t)
(use-package so-long
:config
;;(add-to-list 'so-long-target-modes 'mhtml-mode t)
(setq so-long-max-lines nil) ;; by default only 5 non-blank lines are tested
(setq so-long-action 'so-long-minor-mode) ;; so-long-mode
(global-so-long-mode 1))
;; display line numbers to the right of the window
;; (global-linum-mode t) ;; deactivated because the DocView showing pdf files becomes extremly slow when global-linum-mode is on.