From d5a4872a879869434b1fba04d26e57fe88f1965e Mon Sep 17 00:00:00 2001 From: Brad Clawsie Date: Thu, 13 Apr 2023 16:39:31 -0500 Subject: mv --- nvim/lspconfig.lua | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 nvim/lspconfig.lua (limited to 'nvim/lspconfig.lua') diff --git a/nvim/lspconfig.lua b/nvim/lspconfig.lua deleted file mode 100644 index 1314818..0000000 --- a/nvim/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("/usr/sbin/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