diff --git a/modules/neovim.nix b/modules/neovim.nix index b27ceac..6aa4ae9 100644 --- a/modules/neovim.nix +++ b/modules/neovim.nix @@ -7,6 +7,9 @@ in with lib; { }; config = mkIf cfg.enable { home-manager.users.jade = { pkgs,... } : { + home.packages = with pkgs; [ + rust-analyzer + ]; programs.neovim = { enable = true; viAlias = true; @@ -50,7 +53,9 @@ in with lib; { # Coc {{{ coc = { enable = true; - settings = { }; + settings = { + rust-analyzer.server.path = "${pkgs.rust-analyzer.outPath}/bin/rust-analyzer"; + }; pluginConfig = '' nmap gd (coc-definition) nmap gy (coc-type-definition)