This commit is contained in:
abs3nt 2023-03-10 19:34:09 -08:00
parent 7e0878421c
commit 00aff86c0b
Signed by: abs3nt
GPG Key ID: FDC6662313FA9386

View File

@ -25,6 +25,23 @@ return {
ft = { "markdown" } ft = { "markdown" }
}, },
{
'simrat39/rust-tools.nvim',
config = function()
local rt = require("rust-tools")
rt.setup({
server = {
on_attach = function(_, bufnr)
-- Hover actions
vim.keymap.set("n", "<C-space>", rt.hover_actions.hover_actions, { buffer = bufnr })
-- Code action groups
vim.keymap.set("n", "<Leader>a", rt.code_action_group.code_action_group, { buffer = bufnr })
end,
},
})
end
},
{ {
'ray-x/web-tools.nvim', 'ray-x/web-tools.nvim',
config = function() config = function()