add so-long config to handle files with very long lines
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user