mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-19 13:43:36 -05:00
Fix whitespace-mode settings
This commit is contained in:
@@ -20,9 +20,10 @@
|
||||
|
||||
shift-select-mode nil
|
||||
|
||||
whitespace-style '(trailing face tabs tab-mark)
|
||||
tabify-regexp "^\t* [ \t]+"
|
||||
whitespace-style '(face trailing tabs tab-mark newline newline-mark)
|
||||
whitespace-display-mappings
|
||||
'((tab-mark ?\t [?| ?\t] [?\\ ?\t])
|
||||
'((tab-mark ?\t [?\u2502 ?\t] [?\\ ?\t])
|
||||
(newline-mark 10 [36 10]))
|
||||
|
||||
truncate-lines t ; do not soft-wrap lines
|
||||
@@ -89,6 +90,9 @@
|
||||
(global-auto-revert-mode 1) ; revert buffers for changed files
|
||||
(electric-indent-mode -1)
|
||||
|
||||
;; (add-hook! prog-mode 'whitespace-mode)
|
||||
;; (add-hook! emacs-lisp-mode 'whitespace-mode)
|
||||
|
||||
;; window config undo/redo
|
||||
(setq winner-dont-bind-my-keys t)
|
||||
(winner-mode 1)
|
||||
|
@@ -84,8 +84,8 @@
|
||||
`(font-lock-doc-face ((t (:foreground ,comments))))
|
||||
|
||||
`(trailing-whitespace ((t (:background "#884444"))))
|
||||
`(whitespace-tab ((t (:foreground "#444444"))))
|
||||
`(whitespace-newline ((t (:foreground "#444444"))))
|
||||
`(whitespace-tab ((t (:foreground ,line-hl))))
|
||||
`(whitespace-newline ((t (:foreground ,line-hl))))
|
||||
`(whitespace-trailing ((t (:background "#553333"))))
|
||||
|
||||
`(highlight-indentation-face ((t (:background "#2f3641"))))
|
||||
|
Reference in New Issue
Block a user