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
|
@ -21,7 +21,7 @@
|
|||
python-indent-guess-indent-offset-verbose nil)
|
||||
|
||||
(when (featurep! +lsp)
|
||||
(add-hook 'python-mode-local-vars-hook #'lsp!)
|
||||
(add-hook 'python-mode-local-vars-hook #'lsp! 'append)
|
||||
;; Use "mspyls" in eglot if in PATH
|
||||
(when (executable-find "Microsoft.Python.LanguageServer")
|
||||
(set-eglot-client! 'python-mode '("Microsoft.Python.LanguageServer"))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue