fix(lsp): void-variable args error

Fix: #7974
Fix: #7970
Amend: 85b7b6151b
This commit is contained in:
Henrik Lissner 2024-07-30 04:46:12 -04:00
parent 0bac5fe132
commit 8be1ef498b
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -51,7 +51,7 @@ Can be a list of backends; accepts any value `company-backends' accepts.")
;; Thank god a (non-inlined) function is used to build the URL, so we have
;; something to advise.
;; REVIEW: Remove when zigtools/zls#1879 is resolved.
(defadvice! +lsp--use-correct-zls-download-url-a (fn &rest _)
(defadvice! +lsp--use-correct-zls-download-url-a (fn &rest args)
"See zigtools/zls#1879."
:around #'lsp-zig--zls-url
(let ((lsp-zig-download-url-format