2022-06-23 10:45:58 +03:00
|
|
|
{
|
2022-08-26 16:55:21 +03:00
|
|
|
# General
|
|
|
|
coc.source = {
|
|
|
|
around.enable = true;
|
|
|
|
buffer.enable = true;
|
|
|
|
file.enable = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
# LSP
|
2022-06-23 10:45:58 +03:00
|
|
|
languageserver = {
|
|
|
|
nix = {
|
|
|
|
command = "rnix-lsp";
|
2022-08-29 15:40:41 +03:00
|
|
|
filetypes = [ "nix" ];
|
2022-06-23 10:45:58 +03:00
|
|
|
};
|
|
|
|
};
|
2022-07-05 14:47:56 +03:00
|
|
|
|
|
|
|
# Rust
|
|
|
|
"rust-analyzer.checkOnSave.command" = "clippy";
|
2022-06-23 10:45:58 +03:00
|
|
|
}
|