diff --git a/modules/tools/lsp/+lsp.el b/modules/tools/lsp/+lsp.el index c82805ff4..6deef2c4e 100644 --- a/modules/tools/lsp/+lsp.el +++ b/modules/tools/lsp/+lsp.el @@ -43,6 +43,10 @@ Can be a list of backends; accepts any value `company-backends' accepts.") (when (modulep! :config default +bindings) (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) ;; HACK: Frustratingly enough, the value of `lsp-zig-download-url-format' is ;; used immediately while the lsp-zig package is loading, so changing it