mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-17 13:33:36 -05:00
highlight-indentation: improve whitespace handling
This commit is contained in:
@@ -159,6 +159,7 @@
|
||||
(if highlight-indentation-mode
|
||||
(progn
|
||||
(narf/add-whitespace)
|
||||
(highlight-indentation-set-offset tab-width)
|
||||
(add-hook 'after-save-hook 'narf/add-whitespace nil t))
|
||||
(remove-hook 'after-save-hook 'narf/add-whitespace t)))
|
||||
(add-hook 'before-save-hook 'delete-trailing-whitespace))
|
||||
|
Reference in New Issue
Block a user