Add more ls support to COC
diff --git a/modules/neovim/coc/default.nix b/modules/neovim/coc/default.nix
index ca61561..44795b8 100644
--- a/modules/neovim/coc/default.nix
+++ b/modules/neovim/coc/default.nix
@@ -27,6 +27,11 @@
command = "${pkgs.rnix-lsp}/bin/rnix-lsp";
filetypes = ["nix"];
};
+ cs = {
+ command = "${pkgs.omnisharp-roslyn}/bin/OmniSharp";
+ filetypes = ["cs"];
+ rootPatterns = ["*.csproj" ".vim/" ".git/" ".hg/"];
+ };
};
};
};
@@ -40,6 +45,7 @@
coc-css
coc-go
coc-markdownlint
+ coc-texlab
# Spellchecker
nixpkgs-minion.legacyPackages.${system}.vimPlugins.coc-spell-checker
@@ -56,7 +62,7 @@
(map builtins.readFile)
(builtins.concatStringsSep "\n")
];
- extraPackages = [pkgs.nodejs pkgs.rustc pkgs.go];
+ extraPackages = with pkgs; [nodejs rustc go rust-analyzer texlab];
};
home.file = lib.pipe ./snippets [
builtins.readDir