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"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2022-07-05 14:47:56 +03:00
|
|
|
|
|
|
|
# Rust
|
|
|
|
"rust-analyzer.checkOnSave.command" = "clippy";
|
2022-06-23 10:45:58 +03:00
|
|
|
}
|