diff --git a/home.nix b/home.nix index 88780d9..bb9293b 100644 --- a/home.nix +++ b/home.nix @@ -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; [