tweak(:lang,:tools): start eglot/lsp-mode later
To ensure lsp/eglot settings have precedence over local servers (e.g. cider and lookup handlers). Ref: clojure-emacs/cider#3170
This commit is contained in:
parent
dcae7187b4
commit
d58d084774
30 changed files with 34 additions and 33 deletions
|
@ -37,7 +37,7 @@
|
|||
(sp-local-pair "fn " " end" :unless '(sp-in-comment-p sp-in-string-p)))
|
||||
|
||||
(when (featurep! +lsp)
|
||||
(add-hook 'elixir-mode-local-vars-hook #'lsp!)
|
||||
(add-hook 'elixir-mode-local-vars-hook #'lsp! 'append)
|
||||
(after! lsp-mode
|
||||
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]_build\\'")))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue