about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/init.el b/init.el index da6623c..e2d5950 100644 --- a/init.el +++ b/init.el
@@ -563,9 +563,7 @@
563 tab-width 4 563 tab-width 4
564 backward-delete-char-untabify-method 'hungry) 564 backward-delete-char-untabify-method 'hungry)
565 565
566 (:global "M-SPC" cycle-spacing) 566 (:global "M-SPC" cycle-spacing))
567
568 (add-hook 'before-save-hook #'whitespace-cleanup))
569 567
570(setup windows 568(setup windows
571 (:option use-dialog-box nil 569 (:option use-dialog-box nil
@@ -1047,6 +1045,9 @@ if ripgrep is installed, otherwise `consult-grep'."
1047 (which-key-setup-side-window-right-bottom) 1045 (which-key-setup-side-window-right-bottom)
1048 (which-key-mode +1)) 1046 (which-key-mode +1))
1049 1047
1048(setup (:straight whitespace-cleanup-mode)
1049 (global-whitespace-cleanup-mode +1))
1050
1050(setup (:straight winum) 1051(setup (:straight winum)
1051 (:option winum-auto-setup-mode-line nil 1052 (:option winum-auto-setup-mode-line nil
1052 winum-ignored-buffers '(" *which-key*")) 1053 winum-ignored-buffers '(" *which-key*"))