disable lsp for rustaceanvim
This commit is contained in:
parent
3d3c415db6
commit
93581616c1
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue