clean coc settings

This commit is contained in:
mehbark 2025-12-08 19:53:06 -05:00
parent b30a65da0a
commit c1bfc7e69e

View file

@ -215,26 +215,12 @@ in
programs.neovim = { programs.neovim = {
enable = true; enable = true;
coc.enable = true; coc.enable = true;
coc.settings = '' coc.settings = {
{ "rust-analyzer.checkOnSave.command" = "clippy";
"rust-analyzer.checkOnSave.command": "clippy", "rust-analyzer.checkOnSave.extraArgs" = ["-- -W clippy::pedantic"];
"rust-analyzer.checkOnSave.extraArgs": ["-- -W clippy::pedantic"], "inlayHint.enable" = false;
"languageserver": { "zig.zls.path" = "/home/mbk/.config/coc/extensions/coc-zls-data/zls_install/zls";
"ccls": { };
"command": "ccls",
"filetypes": ["c", "cpp", "objc", "objcpp"],
"rootPatterns": [".ccls", "compile_commands.json", ".vim/", ".git/", ".hg/"],
"initializationOptions": {
"cache": {
"directory": "/tmp/ccls"
}
}
}
},
"inlayHint.enable": true,
"zig.zls.path": "/home/mbk/.config/coc/extensions/coc-zls-data/zls_install/zls"
}
'';
defaultEditor = true; defaultEditor = true;
# should probably extract this out but meh # should probably extract this out but meh
plugins = with pkgs.vimPlugins; [ plugins = with pkgs.vimPlugins; [