mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
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:
@ -44,9 +44,8 @@ Can be a list of backends; accepts any value `company-backends' accepts.")
|
||||
(setq lsp-keymap-prefix nil))
|
||||
|
||||
;; REVIEW: Remove when zigtools/zls#1879 is resolved.
|
||||
(after! lsp-zig
|
||||
(unless (featurep :system 'windows)
|
||||
(setq lsp-zig-download-url-format "https://github.com/zigtools/zls/releases/latest/download/zls-%s-%s.tar.xz")))
|
||||
(unless (featurep :system 'windows)
|
||||
(setq lsp-zig-download-url-format "https://github.com/zigtools/zls/releases/latest/download/zls-%s-%s.tar.xz"))
|
||||
|
||||
:config
|
||||
(add-to-list 'doom-debug-variables 'lsp-log-io)
|
||||
|
Reference in New Issue
Block a user