disable lsp for rustaceanvim
This commit is contained in:
parent
3d3c415db6
commit
93581616c1
|
@ -805,6 +805,24 @@ local plugins = {
|
||||||
enabled = true,
|
enabled = true,
|
||||||
version = "^4", -- Recommended
|
version = "^4", -- Recommended
|
||||||
ft = { "rust" },
|
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",
|
"theHamsta/nvim-dap-virtual-text",
|
||||||
|
@ -817,13 +835,7 @@ local plugins = {
|
||||||
tools = {},
|
tools = {},
|
||||||
-- LSP configuration
|
-- LSP configuration
|
||||||
server = {
|
server = {
|
||||||
on_attach = function(client, bufnr)
|
auto_attach = false,
|
||||||
-- you can also put keymaps in here
|
|
||||||
end,
|
|
||||||
settings = {
|
|
||||||
-- rust-analyzer language server configuration
|
|
||||||
["rust-analyzer"] = {},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
-- DAP configuration
|
-- DAP configuration
|
||||||
dap = {
|
dap = {
|
||||||
|
|
Loading…
Reference in New Issue