diff options
| author | Brad Clawsie <brad@b7j0c.org> | 2023-11-10 13:23:34 -0600 |
|---|---|---|
| committer | Brad Clawsie <brad@b7j0c.org> | 2023-11-10 13:23:34 -0600 |
| commit | be6c4615bae2dfe5654b7e4a0be618bd87a05ced (patch) | |
| tree | d144a75bea4a1717c3ad5fd5ac6dead33826ee24 /nvim/dotconfig | |
| parent | 8c0838739330736bd32c3755a89233dbf5ae4f33 (diff) | |
rm
Diffstat (limited to 'nvim/dotconfig')
| -rw-r--r-- | nvim/dotconfig/nvim/lua/plugins/lspconfig.lua | 48 |
1 files changed, 0 insertions, 48 deletions
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, - }, - }, - }, -} |
