Skip to content

Commit 08f45a3

Browse files
authored
Add gnu/linux arm64 support in lsp--system-arch (#4492)
* Add arm64 system-arch for gnu/linux system-type * clients/lsp-lua: Add gnu/linux arm64 install path
1 parent b73970a commit 08f45a3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

clients/lsp-lua.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,8 @@ and `../lib` ,exclude `../lib/temp`.
552552
(pcase system-type
553553
('gnu/linux
554554
(pcase (lsp-resolve-value lsp--system-arch)
555-
('x64 "linux-x64")))
555+
('x64 "linux-x64")
556+
('arm64 "linux-arm64")))
556557
('darwin
557558
(pcase (lsp-resolve-value lsp--system-arch)
558559
('x64 "darwin-x64")

lsp-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,6 +1503,7 @@ INHERIT-INPUT-METHOD will be proxied to `completing-read' without changes."
15031503
(_ 'x64)))
15041504
('gnu/linux
15051505
(pcase system-configuration
1506+
((rx bol "aarch64-") 'arm64)
15061507
((rx bol "x86_64") 'x64)
15071508
((rx bol (| "i386" "i886")) 'x32)))
15081509
(_

0 commit comments

Comments
 (0)