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:
Henrik Lissner 2022-03-24 02:19:52 +01:00
parent dcae7187b4
commit d58d084774
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
30 changed files with 34 additions and 33 deletions

View file

@ -46,7 +46,7 @@
(use-package! lsp-haskell
:when (featurep! +lsp)
:after lsp-mode
:preface (add-hook 'haskell-mode-local-vars-hook #'lsp!)
:preface (add-hook 'haskell-mode-local-vars-hook #'lsp! 'append)
:config
;; Does some strange indentation if it pastes in the snippet
(setq-hook! 'haskell-mode-hook yas-indent-line 'fixed))