Disable fci-mode and enable show-trailing-whitespace
This commit is contained in:
parent
3c0d7aece4
commit
0866925ad1
@ -61,9 +61,12 @@
|
|||||||
|
|
||||||
(use-package fill-column-indicator
|
(use-package fill-column-indicator
|
||||||
:defer t
|
:defer t
|
||||||
|
:bind
|
||||||
|
(("C-x t f" . fci-mode))
|
||||||
:init
|
:init
|
||||||
(add-hook 'prog-mode-hook 'fci-mode-unless-large-file)
|
;; (add-hook 'prog-mode-hook 'fci-mode-unless-large-file)
|
||||||
(add-hook 'text-mode-hook 'fci-mode-unless-large-file))
|
;; (add-hook 'text-mode-hook 'fci-mode-unless-large-file)
|
||||||
|
)
|
||||||
|
|
||||||
;; --------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------
|
||||||
;; Rainbow mode.
|
;; Rainbow mode.
|
||||||
|
@ -186,13 +186,12 @@
|
|||||||
;; --------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------
|
||||||
|
|
||||||
;; The following setting of `show-trailing-whitespace' is incompatible with
|
;; The following setting of `show-trailing-whitespace' is incompatible with
|
||||||
;; fci-mode. The only known workaround is to have whitespace mode on with
|
;; `fci-mode'. The only known workaround is to have whitespace mode on with
|
||||||
;; whitespace-style set such that only trailing whitespace is shown. At the
|
;; whitespace-style set such that only trailing whitespace is shown.
|
||||||
;; moment, just rely on `ws-butler'.
|
|
||||||
|
|
||||||
;; (add-hook 'prog-mode-hook (lambda ()
|
(add-hook 'prog-mode-hook (lambda ()
|
||||||
;; (interactive)
|
(interactive)
|
||||||
;; (setq show-trailing-whitespace t)))
|
(setq show-trailing-whitespace t)))
|
||||||
|
|
||||||
;; --------------------------------------------------------------------------
|
;; --------------------------------------------------------------------------
|
||||||
;; Automatically indent yanked text in programming mode.
|
;; Automatically indent yanked text in programming mode.
|
||||||
|
Reference in New Issue
Block a user