fix(lsp): set lsp-zig-download-url-format earlier
If delayed until lsp-zig is loaded, then the `lsp-dependency` call in lsp-zig will evaluate with the old (and incorrect) value of `lsp-zig-download-url-format`. Fix: #7970 Amend:bc5a8ec3fa
Amend:7bb5df4cd4
This commit is contained in:
parent
014112c16c
commit
93dfb0acfb
1 changed files with 2 additions and 3 deletions
|
@ -44,9 +44,8 @@ Can be a list of backends; accepts any value `company-backends' accepts.")
|
||||||
(setq lsp-keymap-prefix nil))
|
(setq lsp-keymap-prefix nil))
|
||||||
|
|
||||||
;; REVIEW: Remove when zigtools/zls#1879 is resolved.
|
;; REVIEW: Remove when zigtools/zls#1879 is resolved.
|
||||||
(after! lsp-zig
|
|
||||||
(unless (featurep :system 'windows)
|
(unless (featurep :system 'windows)
|
||||||
(setq lsp-zig-download-url-format "https://github.com/zigtools/zls/releases/latest/download/zls-%s-%s.tar.xz")))
|
(setq lsp-zig-download-url-format "https://github.com/zigtools/zls/releases/latest/download/zls-%s-%s.tar.xz"))
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(add-to-list 'doom-debug-variables 'lsp-log-io)
|
(add-to-list 'doom-debug-variables 'lsp-log-io)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue