system/nix/progs/nvim/coc_settings.nix

28 lines
454 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"
];
};
};
# Rust
"rust-analyzer.checkOnSave.command" = "clippy";
2022-06-23 10:45:58 +03:00
}