From be6c4615bae2dfe5654b7e4a0be618bd87a05ced Mon Sep 17 00:00:00 2001 From: Brad Clawsie Date: Fri, 10 Nov 2023 13:23:34 -0600 Subject: rm --- nvim/dotconfig/nvim/lua/plugins/lspconfig.lua | 48 --------------------------- 1 file changed, 48 deletions(-) delete mode 100644 nvim/dotconfig/nvim/lua/plugins/lspconfig.lua (limited to 'nvim/dotconfig') diff --git a/nvim/dotconfig/nvim/lua/plugins/lspconfig.lua b/nvim/dotconfig/nvim/lua/plugins/lspconfig.lua deleted file mode 100644 index 7e4499b..0000000 --- a/nvim/dotconfig/nvim/lua/plugins/lspconfig.lua +++ /dev/null @@ -1,48 +0,0 @@ -return { - { - "neovim/nvim-lspconfig", - dependencies = { - "simrat39/rust-tools.nvim", - }, - opts = { - servers = { - rust_analyzer = { - mason = false, - cmd = { vim.fn.expand("~/.cargo/bin/rust-analyzer") }, - settings = { - ["rust-analyzer"] = { - imports = { - granularity = { - group = "module", - }, - prefix = "self", - }, - cargo = { - allFeatures = true, - loadOutDirsFromCheck = true, - runBuildScripts = true, - buildScripts = { - enable = true, - }, - }, - procMacro = { - enable = true, - }, - checkOnSave = { - allFeatures = true, - command = "clippy", - extraArgs = { "--no-deps" }, - }, - }, - }, - }, - }, - setup = { - rust_analyzer = function(_, opts) - require("rust-tools").setup({ server = opts }) - return true - end, - }, - }, - }, -} -- cgit v1.2.3