update
This commit is contained in:
parent
89a9f17fcd
commit
75901ee9bf
2 changed files with 12 additions and 5 deletions
11
emacs.el
11
emacs.el
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue