Skip to content

Commit 667272d

Browse files
lsp-asm: if executable is found there's no need to install it (#4564)
* lsp-asm: if executable is found there's no need to install it * Update CHANGELOG.org with lsp-asm change
1 parent b333977 commit 667272d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.org

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* Replace the per-interface ~(INTERFACE ...)~ pcase forms with a single,
1818
unified ~(lsp-interface INTERFACE ...)~ form. The per-interface forms are no
1919
longer generated. *This is a breaking change.* (See #4430.)
20+
* If asm-lsp is installed, lsp-asm won't try to download it to cache store
2021

2122
** 9.0.0
2223
* Add language server config for QML (Qt Modeling Language) using qmlls.

clients/lsp-asm.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ Will update if UPDATE? is t."
8181
(make-lsp-client
8282
:new-connection (lsp-stdio-connection
8383
#'lsp-asm--server-command
84-
(lambda () (f-exists? lsp-asm-store-path)))
84+
(lambda () (or (executable-find "asm-lsp")
85+
(f-exists? lsp-asm-store-path))))
8586
:major-modes lsp-asm-active-modes
8687
:priority -1
8788
:server-id 'asm-lsp

0 commit comments

Comments
 (0)