fix(zig): update zls download URL

Fix: #7873
Ref: zigtools/zls#1879
This commit is contained in:
Henrik Lissner 2024-07-05 20:06:28 -04:00
parent 2bfb7821b6
commit 7bb5df4cd4
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -54,6 +54,10 @@ Can be a list of backends; accepts any value `company-backends' accepts.")
lsp-xml-jar-file (expand-file-name "org.eclipse.lsp4xml-0.3.0-uber.jar" lsp-server-install-dir)
lsp-groovy-server-file (expand-file-name "groovy-language-server-all.jar" lsp-server-install-dir))
;; REVIEW: Remove when zigtools/zls#1879 is resolved.
(unless (featurep :system 'windows)
(setq lsp-zig-download-url-format "https://github.com/zigtools/zls/releases/latest/download/zls-%s-%s.tar.xz"))
(add-hook! 'doom-escape-hook
(defun +lsp-signature-stop-maybe-h ()
"Close the displayed `lsp-signature'."