fix: Terminal popup
This commit is contained in:
parent
1e7350bd27
commit
090314c4e5
11 changed files with 122 additions and 20 deletions
12
nvim/ftplugin/rust.lua
Normal file
12
nvim/ftplugin/rust.lua
Normal 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,
|
||||
},
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue