feat(ui): add codewindow (minimap)

This commit is contained in:
gacallea 2024-05-24 16:35:25 +02:00
parent 0f6ff53ce3
commit b3f3e0f18c

View file

@ -0,0 +1,37 @@
return {
{
"gorbit99/codewindow.nvim",
keys = {
{
"<leader>um",
function()
require("codewindow").toggle_minimap()
end,
desc = "Toggle minimap",
},
},
lazy = false,
opts = {
auto_enable = true,
minimap_width = 20,
width_multiplier = 2,
screen_bounds = "background",
window_border = "none",
relative = "win",
exclude_filetypes = {
"dashboard",
"neo-tree",
"lazy",
"lazyterm",
"mason",
"help",
"checkhealth",
"lspinfo",
"noice",
"Trouble",
"fish",
"zsh",
},
},
},
}