Add some basic frontend LSP servers

This commit is contained in:
Natsu Kagami 2023-09-29 10:00:08 +02:00
parent 535e7e6cc3
commit 490aa3ad35
Signed by: nki
GPG key ID: 55A032EB38B49ADB
2 changed files with 15 additions and 2 deletions

View file

@ -89,7 +89,7 @@ hook global InsertCompletionHide .* %{
try %{
eval %sh{test -z "$WE_STARTED_KAK" && kak-lsp --kakoune -s $kak_session}
}
hook global WinSetOption filetype=(racket|rust|python|go|javascript|typescript|c|cpp|tex|latex|fsharp|ocaml|haskell|nix|scala|typst) %{
hook global WinSetOption filetype=(racket|rust|python|go|javascript|typescript|c|cpp|tex|latex|fsharp|ocaml|haskell|nix|scala|typst|html|css|json) %{
lsp-enable-window
map window lsp N -docstring "Display the next message request" ": lsp-show-message-request-next<ret>"
map window normal <c-l> ": enter-user-mode lsp<ret>"