Skip to content

Commit

Permalink
fix(marksman): Update Download URL for Marksman Linux Binaries (#4098)
Browse files Browse the repository at this point in the history
The download URL for Marksman Linux binaries has been split by architecture,
causing the previous URL to return a 404 error.
To resolve this issue,
the download URL has been updated to the new format.
This ensures the correct architecture binary is downloaded properly.
  • Loading branch information
ncaq authored Jul 13, 2023
1 parent 39390d3 commit 0ea4dc7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions clients/lsp-marksman.el
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,11 @@
(defcustom lsp-marksman-download-url
(format "https://github.com/artempyanykh/marksman/releases/latest/download/%s"
(pcase system-type
('gnu/linux "marksman-linux")
('darwin (if (string-match "^aarch64-.*" system-configuration)
"marksman-macos" ;; Note: probably wrong/will not work
"marksman-macos"))
('gnu/linux
(if (string-match "^aarch64-.*" system-configuration)
"marksman-linux-arm64"
"marksman-linux-x64"))
('darwin "marksman-macos")
('windows-nt "marksman.exe")))
"Automatic download url for Marksman."
:type 'string
Expand Down

0 comments on commit 0ea4dc7

Please sign in to comment.