fix: Terminal popup

This commit is contained in:
Fabio Lenherr / DashieTM 2023-04-23 10:56:45 +02:00
parent 1e7350bd27
commit 090314c4e5
11 changed files with 122 additions and 20 deletions

12
nvim/ftplugin/rust.lua Normal file
View file

@ -0,0 +1,12 @@
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,
},
})