fix(lsp): disable lsp-terraform
This issue seems to come up a lot, and I've been unable to reproduce it, but at the very least I can disable the lsp-terraform client for folks that don't need it. Fix: #7713 Ref: emacs-lsp/lsp-mode#3577
This commit is contained in:
parent
e59023b843
commit
32d9369091
1 changed files with 4 additions and 0 deletions
|
@ -43,6 +43,10 @@ Can be a list of backends; accepts any value `company-backends' accepts.")
|
||||||
(when (modulep! :config default +bindings)
|
(when (modulep! :config default +bindings)
|
||||||
(setq lsp-keymap-prefix nil))
|
(setq lsp-keymap-prefix nil))
|
||||||
|
|
||||||
|
;; HACK: See emacs-lsp/lsp-mode#3577
|
||||||
|
(unless (modulep! :lang terraform)
|
||||||
|
(setq lsp-client-packages (delete 'lsp-terraform lsp-client-packages)))
|
||||||
|
|
||||||
(unless (featurep :system 'windows)
|
(unless (featurep :system 'windows)
|
||||||
;; HACK: Frustratingly enough, the value of `lsp-zig-download-url-format' is
|
;; HACK: Frustratingly enough, the value of `lsp-zig-download-url-format' is
|
||||||
;; used immediately while the lsp-zig package is loading, so changing it
|
;; used immediately while the lsp-zig package is loading, so changing it
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue