From f365ea75644614167d8c2946cd9e82bf3d47253f Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sun, 2 Jun 2024 22:02:28 -0700 Subject: [PATCH] Updated rust config --- config/default.nix | 1 + config/plugins/cmp.nix | 1 + config/plugins/lsp.nix | 7 ------- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/config/default.nix b/config/default.nix index 1632a38..724679f 100644 --- a/config/default.nix +++ b/config/default.nix @@ -63,6 +63,7 @@ tmux-navigator.enable = true; fugitive.enable = true; comment.enable = true; + rustaceanvim.enable = true; /* :TransparentEnable diff --git a/config/plugins/cmp.nix b/config/plugins/cmp.nix index 55452ed..cbb00fe 100644 --- a/config/plugins/cmp.nix +++ b/config/plugins/cmp.nix @@ -20,6 +20,7 @@ sources = [ {name = "buffer";} {name = "cmdline";} + {name = "cmp-clippy";} {name = "luasnip";} {name = "nvim_lsp";} {name = "path";} diff --git a/config/plugins/lsp.nix b/config/plugins/lsp.nix index bc4c73b..1b3bbda 100644 --- a/config/plugins/lsp.nix +++ b/config/plugins/lsp.nix @@ -25,13 +25,6 @@ # lua (nvim config) lua-ls.enable = true; - # rust - rust-analyzer = { - enable = true; - installCargo = true; - installRustc = true; - }; - # ocaml ocamllsp.enable = true;