This commit is contained in:
Iwaniuk Krzysztof
2024-07-01 02:15:36 +02:00
parent 224e945e9c
commit 114a1d8d13
3 changed files with 35 additions and 0 deletions

23
lua/plugins/nvim-ufo.lua Normal file
View File

@@ -0,0 +1,23 @@
return {
{
'kevinhwang91/nvim-ufo',
dependencies = { 'kevinhwang91/promise-async' },
opts = {
open_fold_hl_timeout = 400,
close_fold_kinds_for_ft = { 'imports', 'comment' },
preview = {
win_config = {
border = { '', '', '', '', '', '', '', '' },
winhighlight = 'Normal:Folded',
winblend = 0,
},
mappings = {
scrollU = '<C-u>',
scrollD = '<C-d>',
jumpTop = '[',
jumpBot = ']',
},
},
},
},
}