24 lines
515 B
Nix
24 lines
515 B
Nix
{
|
|
# General
|
|
coc.source = {
|
|
around.enable = true;
|
|
buffer.enable = true;
|
|
file.enable = false;
|
|
};
|
|
|
|
# LSP
|
|
languageserver = {
|
|
nix = {
|
|
command = "rnix-lsp";
|
|
filetypes = [ "nix" ];
|
|
};
|
|
};
|
|
|
|
# Rust
|
|
"rust-analyzer.server.path" = "rust-analyzer";
|
|
"rust-analyzer.updates.prompt" = false;
|
|
"rust-analyzer.updates.checkOnStartup" = false;
|
|
"rust-analyzer.checkOnSave.enable" = true;
|
|
"rust-analyzer.checkOnSave.command" = "clippy";
|
|
"rust-analyzer.cargo.autoreload" = true;
|
|
}
|