Fix LSP settings for nvim
This commit is contained in:
parent
b517ac71dc
commit
e96552cd01
|
@ -264,14 +264,26 @@ in
|
||||||
};
|
};
|
||||||
coc.enable = true;
|
coc.enable = true;
|
||||||
coc.settings = {
|
coc.settings = {
|
||||||
"diagnostic-languageserver.filetypes" = {
|
languageserver = {
|
||||||
python = "mypy";
|
"diagnostic-languageserver.filetypes" = {
|
||||||
};
|
python = "mypy";
|
||||||
haskell = {
|
};
|
||||||
command = "haskell-language-server-wrapper";
|
haskell = {
|
||||||
args = ["--lsp"];
|
command = "haskell-language-server-wrapper";
|
||||||
rootPatterns = ["*.cabal" "stack.yaml" "cabal.project" "package.yaml" "hie.yaml"];
|
args = ["--lsp"];
|
||||||
filetypes = ["hs" "lhs" "haskell" "lhaskell"];
|
rootPatterns = ["*.cabal" "stack.yaml" "cabal.project" "package.yaml" "hie.yaml"];
|
||||||
|
filetypes = ["hs" "lhs" "haskell" "lhaskell"];
|
||||||
|
};
|
||||||
|
godot = {
|
||||||
|
host = "127.0.0.1";
|
||||||
|
filetypes = ["gd" "gdscript" "gdscript3"];
|
||||||
|
port = 6005;
|
||||||
|
};
|
||||||
|
csharp-ls = {
|
||||||
|
command = "csharp-ls";
|
||||||
|
filetypes = ["cs"];
|
||||||
|
rootPatterns = ["*.csproj" "*.sln"];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue