fix(:lang): ensure lsp! is always appended to hooks

This commit is contained in:
Henrik Lissner 2022-07-25 18:12:03 +02:00
parent a70e634ebd
commit 9cb4c8b637
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
7 changed files with 12 additions and 10 deletions

View file

@ -18,9 +18,10 @@
(add-hook! '(clojure-mode-local-vars-hook
clojurec-mode-local-vars-hook
clojurescript-mode-local-vars-hook)
(defun +clojure-disable-lsp-indentation-h ()
(setq-local lsp-enable-indentation nil))
#'lsp!)
:append
(defun +clojure-disable-lsp-indentation-h ()
(setq-local lsp-enable-indentation nil))
#'lsp!)
(after! lsp-clojure
(dolist (m '(clojure-mode
clojurec-mode