mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(ui): add codewindow (minimap)
This commit is contained in:
parent
0f6ff53ce3
commit
b3f3e0f18c
1 changed files with 37 additions and 0 deletions
37
lua/lazyvim/plugins/extras/ui/codewindow-nvim.lua
Normal file
37
lua/lazyvim/plugins/extras/ui/codewindow-nvim.lua
Normal 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",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue