change fold level

This commit is contained in:
2024-11-25 10:10:16 -05:00
parent fbc5118f0e
commit 7f40081e3a
+10 -10
View File
@@ -42,9 +42,9 @@ o.background = 'dark'
o.signcolumn = 'yes'
o.colorcolumn = '80'
vim.diagnostic.config({
float = {
border = 'rounded',
},
float = {
border = 'rounded',
},
})
-- virtualedit
@@ -70,16 +70,16 @@ o.undofile = true
-- folding
o.foldcolumn = '0'
o.foldlevel = 5
o.foldlevel = 10
o.foldmethod = 'expr'
o.foldexpr = 'nvim_treesitter#foldexpr()'
o.fillchars = {
foldopen = '',
foldclose = '',
fold = ' ',
foldsep = ' ',
eob = ' ',
foldopen = '',
foldclose = '',
fold = ' ',
foldsep = ' ',
eob = ' ',
}
-- session management
o.sessionoptions = 'blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions'
o.sessionoptions = 'blank,buffers,curdir,folds,help,tabpages,winsize,winpos,terminal,localoptions'