|
|
|
@ -2,9 +2,11 @@
|
|
|
|
|
|
|
|
|
|
;;; Code: |
|
|
|
|
;; Easier to identify identifiers |
|
|
|
|
;; The init add-hook seems to be the only way this works. |
|
|
|
|
;; :hook does not work with rainbow identifiers for some reason. |
|
|
|
|
(use-package rainbow-identifiers |
|
|
|
|
:ensure t |
|
|
|
|
:hook ((prog-mode-hook . rainbow-identifiers-mode))) |
|
|
|
|
:init (add-hook 'prog-mode-hook 'rainbow-identifiers-mode)) |
|
|
|
|
|
|
|
|
|
;; Flycheck is enabled globally. |
|
|
|
|
(use-package flycheck |
|
|
|
@ -31,8 +33,8 @@
|
|
|
|
|
:commands (lsp lsp-deferred)) |
|
|
|
|
|
|
|
|
|
(use-package lsp-ui |
|
|
|
|
:ensure t |
|
|
|
|
:hook (lsp-mode . lsp-ui-mode)) |
|
|
|
|
:ensure t |
|
|
|
|
:hook (lsp-mode . lsp-ui-mode)) |
|
|
|
|
|
|
|
|
|
(with-eval-after-load 'magit-mode |
|
|
|
|
(add-hook 'after-save-hook 'magit-after-save-refresh-status t)) |
|
|
|
|