Skip to content

Commit

Permalink
Add gnu/linux arm64 support in lsp--system-arch (#4492)
Browse files Browse the repository at this point in the history
* Add arm64 system-arch for gnu/linux system-type

* clients/lsp-lua: Add gnu/linux arm64 install path
  • Loading branch information
chaos95 authored Jul 10, 2024
1 parent b73970a commit 08f45a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion clients/lsp-lua.el
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,8 @@ and `../lib` ,exclude `../lib/temp`.
(pcase system-type
('gnu/linux
(pcase (lsp-resolve-value lsp--system-arch)
('x64 "linux-x64")))
('x64 "linux-x64")
('arm64 "linux-arm64")))
('darwin
(pcase (lsp-resolve-value lsp--system-arch)
('x64 "darwin-x64")
Expand Down
1 change: 1 addition & 0 deletions lsp-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -1503,6 +1503,7 @@ INHERIT-INPUT-METHOD will be proxied to `completing-read' without changes."
(_ 'x64)))
('gnu/linux
(pcase system-configuration
((rx bol "aarch64-") 'arm64)
((rx bol "x86_64") 'x64)
((rx bol (| "i386" "i886")) 'x32)))
(_
Expand Down

0 comments on commit 08f45a3

Please sign in to comment.