disable lsp for rustaceanvim

This commit is contained in:
Christoph J. Scherr 2024-02-08 13:37:10 +01:00
parent 3d3c415db6
commit 93581616c1
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
1 changed files with 19 additions and 7 deletions

View File

@ -805,6 +805,24 @@ local plugins = {
enabled = true,
version = "^4", -- Recommended
ft = { "rust" },
config = function()
vim.g.rustaceanvim = {
-- Plugin configuration
tools = {},
-- LSP configuration
server = {
on_attach = function(client, bufnr)
-- you can also put keymaps in here
end,
default_settings = {
-- rust-analyzer language server configuration
["rust-analyzer"] = {},
},
},
-- DAP configuration
dap = {},
}
end,
},
{
"theHamsta/nvim-dap-virtual-text",
@ -817,13 +835,7 @@ local plugins = {
tools = {},
-- LSP configuration
server = {
on_attach = function(client, bufnr)
-- you can also put keymaps in here
end,
settings = {
-- rust-analyzer language server configuration
["rust-analyzer"] = {},
},
auto_attach = false,
},
-- DAP configuration
dap = {