Add crates.nvim
parent
785e1e57e8
commit
566b391dcc
|
@ -45,6 +45,7 @@ return require("lazy").setup({
|
||||||
"nvim-neotest/nvim-nio",
|
"nvim-neotest/nvim-nio",
|
||||||
"nvim-neotest/neotest-plenary",
|
"nvim-neotest/neotest-plenary",
|
||||||
"rouge8/neotest-rust",
|
"rouge8/neotest-rust",
|
||||||
|
"saecki/crates.nvim",
|
||||||
"nvim-neotest/neotest-vim-test", -- vim-test plugin for neotest
|
"nvim-neotest/neotest-vim-test", -- vim-test plugin for neotest
|
||||||
"vim-test/vim-test", -- Running tests from vim
|
"vim-test/vim-test", -- Running tests from vim
|
||||||
"mfussenegger/nvim-dap", -- Debug Adapter Protocol
|
"mfussenegger/nvim-dap", -- Debug Adapter Protocol
|
||||||
|
|
|
@ -111,3 +111,15 @@ vim.g.rustaceanvim = {
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
require("crates").setup({
|
||||||
|
lsp = {
|
||||||
|
enabled = true,
|
||||||
|
on_attach = function(client, bufnr)
|
||||||
|
common_config.on_attach(client, bufnr)
|
||||||
|
end,
|
||||||
|
actions = true,
|
||||||
|
completion = true,
|
||||||
|
hover = true,
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
Loading…
Reference in New Issue