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 = {
enable = true;
coc.enable = true;
coc.settings = ''
{
"rust-analyzer.checkOnSave.command": "clippy",
"rust-analyzer.checkOnSave.extraArgs": ["-- -W clippy::pedantic"],
"languageserver": {
"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"
}
'';
coc.settings = {
"rust-analyzer.checkOnSave.command" = "clippy";
"rust-analyzer.checkOnSave.extraArgs" = ["-- -W clippy::pedantic"];
"inlayHint.enable" = false;
"zig.zls.path" = "/home/mbk/.config/coc/extensions/coc-zls-data/zls_install/zls";
};
defaultEditor = true;
# should probably extract this out but meh
plugins = with pkgs.vimPlugins; [