dotfiles/.config/nvim/lua/plugins/actions-preview.lua
Sergio Laín 02f4037323
feat(nvim): new align plugin
also changed the keymap of code actions preview
2023-10-13 14:42:45 +02:00

23 lines
547 B
Lua

return {
{
"aznhe21/actions-preview.nvim",
event = "BufRead",
config = function()
require("actions-preview").setup({
telescope = {
sorting_strategy = "ascending",
layout_strategy = "vertical",
layout_config = {
width = 0.8,
height = 0.9,
prompt_position = "top",
preview_cutoff = 20,
preview_height = function(_, _, max_lines)
return max_lines - 15
end,
},
},
})
end,
},
}