Skip to content

Commit fc1af42

Browse files
Add 'sw-load-list' for Magik (#4897)
* Add 'sw-load-list' to activation function for Magik * Add magik-loadlist-mode to mode associations
1 parent 0332f15 commit fc1af42

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

clients/lsp-magik.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
"-jar"
201201
(substitute-in-file-name lsp-magik-ls-path)
202202
"--debug")))
203-
:activation-fn (lsp-activate-on "magik" "sw-product-def" "sw-module-def")
203+
:activation-fn (lsp-activate-on "magik" "sw-product-def" "sw-module-def" "sw-load-list")
204204
:initialized-fn (lambda (workspace)
205205
(with-lsp-workspace workspace
206206
(lsp--set-configuration (lsp-configuration-section "magik"))))

lsp-mode.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -987,6 +987,7 @@ Changes take effect only when a new session is started."
987987
(magik-ts-mode . "magik")
988988
(magik-product-mode . "sw-product-def")
989989
(magik-module-mode . "sw-module-def")
990+
(magik-loadlist-mode . "sw-load-list")
990991
(idris-mode . "idris")
991992
(idris2-mode . "idris2")
992993
(gleam-mode . "gleam")

0 commit comments

Comments
 (0)