Fix LSP settings for nvim

This commit is contained in:
Emi Simpson 2024-06-23 09:58:11 -04:00
parent b517ac71dc
commit e96552cd01
Signed by: Emi
GPG key ID: A12F2C2FFDC3D847

View file

@ -264,6 +264,7 @@ in
};
coc.enable = true;
coc.settings = {
languageserver = {
"diagnostic-languageserver.filetypes" = {
python = "mypy";
};
@ -273,5 +274,16 @@ in
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"];
};
};
};
}