Add rnix-lsp

This commit is contained in:
Natsu Kagami 2021-10-29 00:25:58 -04:00
parent 466f5f1e90
commit 4f635b3cd3
5 changed files with 88 additions and 5 deletions

View file

@ -95,7 +95,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) %{
hook global WinSetOption filetype=(racket|rust|python|go|javascript|typescript|c|cpp|tex|latex|fsharp|ocaml|haskell|nix) %{
lsp-enable-window
map global normal <c-l> ": enter-user-mode lsp<ret>"
lsp-auto-hover-enable