system/nix/progs/nvim/coc_settings.nix

24 lines
394 B
Nix

{
languageserver = {
nix = {
command = "rnix-lsp";
filetypes = ["nix"];
};
haskell = {
command = "haskell-language-server-wrapper";
args = ["--lsp"];
rootPatterns = [
"stack.yaml"
".cabal"
"cabal.project"
"package.yaml"
];
filetypes = [
"hs"
"lhs"
"haskell"
];
};
};
}