mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Disable show-trailing-whitespace by default #1593
Let people decide if they want it on or not. See doom-enable-show-trailing-whitespace-h or setq-hook!
This commit is contained in:
@ -158,13 +158,6 @@ read-only or not file-visiting."
|
|||||||
ring-bell-function #'ignore
|
ring-bell-function #'ignore
|
||||||
visible-bell nil)
|
visible-bell nil)
|
||||||
|
|
||||||
;; Use `show-trailing-whitespace' instead of `whitespace-mode' because it's
|
|
||||||
;; faster (implemented in C). But try to only enable it in editing buffers.
|
|
||||||
(setq-default show-trailing-whitespace nil)
|
|
||||||
(add-hook! (prog-mode text-mode conf-mode)
|
|
||||||
(defun doom-enable-show-trailing-whitespace-h ()
|
|
||||||
(setq show-trailing-whitespace t)))
|
|
||||||
|
|
||||||
;; middle-click paste at point, not at click
|
;; middle-click paste at point, not at click
|
||||||
(setq mouse-yank-at-point t)
|
(setq mouse-yank-at-point t)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user