Skip to content

Handle editor exit

Compare
Choose a tag to compare
@ul ul released this 28 Apr 01:48
· 1456 commits to master since this release

Now kak-lsp shuts down all language servers started for the given editor session whenever it ends.

This is BREAKING change, you need to update your kakrc file and replace filetype hooks with a single global lsp-enable call:

-hook global WinSetOption filetype=rust %{
-    lsp-enable
-}
+lsp-enable

(If you did more granular setup not relying on lsp-enable please revisit your config as well and update according to lsp.kak changes, diff is here 6cd31a1#diff-3fa8c6637c17f807dc0b786b61a69d4d)

Now to restrict languages for which kak-lsp is used just edit ~/.config/kak-lsp/kak-lsp.toml file.