Add rnix-lsp
This commit is contained in:
parent
466f5f1e90
commit
4f635b3cd3
5 changed files with 88 additions and 5 deletions
|
@ -159,4 +159,7 @@ command = "FSharpLanguageServer"
|
|||
# command = "dotnet"
|
||||
# args = ["/home/natsukagami/Projects/FsAutoComplete/bin/release_netcore/fsautocomplete.dll", "--background-service-enabled"]
|
||||
|
||||
|
||||
[language.nix]
|
||||
filetypes = ["nix"]
|
||||
roots = ["flake.nix", "shell.nix", ".git"]
|
||||
command = "rnix-lsp"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue