This commit is contained in:
Miguel Palhas
2024-10-24 18:30:41 +01:00
parent 2a3dfec037
commit 71171ea2c4
9 changed files with 107 additions and 30 deletions
+23
View File
@@ -31,4 +31,27 @@ return {
event = "LspAttach",
opts = {}, -- required, even if empty
},
{
"aznhe21/actions-preview.nvim",
config = function()
local hl = require "actions-preview.highlight"
require("actions-preview").setup {
backend = { "nui" },
highlight_command = { hl.delta() },
nui = {
keymap = { "q", "<C-c>" },
},
}
end,
keys = {
{
"ga",
function()
require("actions-preview").code_actions()
end,
},
},
},
}