diff --git a/configs/programs/neovim.nix b/configs/programs/neovim.nix index bb9c1b0..58e0551 100644 --- a/configs/programs/neovim.nix +++ b/configs/programs/neovim.nix @@ -264,14 +264,26 @@ in }; coc.enable = true; coc.settings = { - "diagnostic-languageserver.filetypes" = { - python = "mypy"; - }; - haskell = { - command = "haskell-language-server-wrapper"; - args = ["--lsp"]; - rootPatterns = ["*.cabal" "stack.yaml" "cabal.project" "package.yaml" "hie.yaml"]; - filetypes = ["hs" "lhs" "haskell" "lhaskell"]; + languageserver = { + "diagnostic-languageserver.filetypes" = { + python = "mypy"; + }; + haskell = { + command = "haskell-language-server-wrapper"; + args = ["--lsp"]; + 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"]; + }; }; }; } \ No newline at end of file