fix(lsp): void-variable lsp-client-packages error
Regression introduced in32d9369
, due to evaluating this snippet too early (before lsp-mode was loaded). Amend:32d9369091
Fix: #7713
This commit is contained in:
parent
93c5f98ee2
commit
d4357c173a
1 changed files with 3 additions and 4 deletions
|
@ -43,10 +43,6 @@ 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
|
||||||
|
@ -88,6 +84,9 @@ Can be a list of backends; accepts any value `company-backends' accepts.")
|
||||||
:implementations '(lsp-find-implementation :async t)
|
:implementations '(lsp-find-implementation :async t)
|
||||||
:type-definition #'lsp-find-type-definition)
|
:type-definition #'lsp-find-type-definition)
|
||||||
|
|
||||||
|
;; HACK: See emacs-lsp/lsp-mode#3577
|
||||||
|
(unless (modulep! :lang terraform)
|
||||||
|
(setq lsp-client-packages (delete 'lsp-terraform lsp-client-packages)))
|
||||||
|
|
||||||
(defadvice! +lsp--respect-user-defined-checkers-a (fn &rest args)
|
(defadvice! +lsp--respect-user-defined-checkers-a (fn &rest args)
|
||||||
"Ensure user-defined `flycheck-checker' isn't overwritten by `lsp'."
|
"Ensure user-defined `flycheck-checker' isn't overwritten by `lsp'."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue