36 lines
579 B
Nix
36 lines
579 B
Nix
{
|
|
# General
|
|
coc.source = {
|
|
around.enable = true;
|
|
buffer.enable = true;
|
|
file.enable = false;
|
|
};
|
|
|
|
|
|
# LSP
|
|
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";
|
|
}
|