This commit is contained in:
joachimschmidt557 2021-10-29 00:14:47 +02:00
parent 89a9f17fcd
commit 75901ee9bf
No known key found for this signature in database
GPG key ID: E0B575BE2884ACC5
2 changed files with 12 additions and 5 deletions

View file

@ -48,14 +48,13 @@
(define-minor-mode remove-trailing-whitespace-mode
"Minor mode to remove trailing whitespace on every save"
:lighter " rmtws"
(add-hook 'before-save-hook 'delete-trailing-whitespace))
(add-hook 'prog-mode-hook 'remove-trailing-whitespace-mode)
;; Other stuff
(straight-use-package 'better-defaults)
(straight-use-package 'delight)
(straight-use-package 'doom-themes)
(straight-use-package 'undo-tree)
(straight-use-package 'multiple-cursors)
@ -70,7 +69,7 @@
(straight-use-package 'marginalia)
(straight-use-package 'company)
;; (straight-use-package 'eglot)
;; (straight-use-package 'lsp-mode)
(straight-use-package 'lsp-mode)
(straight-use-package 'speed-type)
(straight-use-package 'magit)
(straight-use-package 'restart-emacs)
@ -113,11 +112,13 @@
(use-package undo-tree
:config
(global-undo-tree-mode))
(global-undo-tree-mode)
:delight)
(use-package which-key
:config
(which-key-mode))
(which-key-mode)
:delight)
(use-package doom-themes
:config