mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Configure truncate-lines and visual-line-mode correctly
This commit is contained in:
@@ -9,8 +9,9 @@
|
||||
(use-package fill-column-indicator
|
||||
:hook (prog-mode . fci-mode)
|
||||
:config
|
||||
(setq fci-rule-width 1
|
||||
fci-handle-trucate-lines nil))
|
||||
(setq fci-handle-line-move-visual nil
|
||||
fci-handle-truncate-lines nil
|
||||
fci-rule-width 1))
|
||||
|
||||
(provide 'siren-fci)
|
||||
;;; siren-fci.el ends here
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
(setq fill-column 80
|
||||
whitespace-action '(auto-cleanup))
|
||||
|
||||
(visual-line-mode +1)
|
||||
(whitespace-mode +1)))
|
||||
(visual-line-mode t)
|
||||
(whitespace-mode t)))
|
||||
|
||||
(provide 'siren-prog-mode)
|
||||
;;; siren-prog-mode.el ends here
|
||||
|
||||
@@ -11,7 +11,9 @@
|
||||
:hook (text-mode . siren-text-mode-setup)
|
||||
:init
|
||||
(defun siren-text-mode-setup ()
|
||||
(setq fill-column 80)))
|
||||
(setq fill-column 80)
|
||||
|
||||
(visual-line-mode t)))
|
||||
|
||||
(provide 'siren-text-mode)
|
||||
;;; siren-text-mode.el ends here
|
||||
|
||||
Reference in New Issue
Block a user