From 4f6d5d49e8a27d429630c15dcb099a6b11d038fb Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 13 Dec 2024 22:41:06 -0600 Subject: [PATCH] refactor(nvim): remove unused options from rustaceanvim --- .../dots/.config/nvim/lua/plugins/configs/lsp.lua | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua b/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua index 70b6b96b..738ca779 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/lsp.lua @@ -93,7 +93,7 @@ return { }, { "mrcjkb/rustaceanvim", - ft = { "rust" }, + lazy = false, init = function() vim.g.rustaceanvim = { dap = { @@ -110,13 +110,7 @@ return { default_settings = { ["rust-analyzer"] = { cargo = { - features = "all", - loadOutDirsFromCheck = true, - runBuildScripts = true, - }, - check = { - command = "clippy", - features = "all", + targetDir = "target/rust-analyzer/", }, checkOnSave = true, rustfmt = {