system/nix/progs/nvim/coc_settings.nix

25 lines
394 B
Nix
Raw Normal View History

2022-06-23 10:45:58 +03:00
{
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"
];
};
};
}