system/home/progs/nvim/coc_settings.nix

20 lines
286 B
Nix
Raw Normal View History

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