fix: fold-level of 3 by default is annoying
This commit is contained in:
parent
44fc4edff5
commit
8bf123d387
@ -53,7 +53,7 @@ vim.api.nvim_create_autocmd({ "BufNewfile", "BufRead" }, {
|
||||
if has_parser then
|
||||
vim.wo.foldexpr = 'v:lua.vim.treesitter.foldexpr()'
|
||||
vim.wo.foldmethod = 'expr'
|
||||
vim.wo.foldlevel = 3
|
||||
vim.wo.foldlevel = 10
|
||||
end
|
||||
end
|
||||
end,
|
||||
|
Loading…
x
Reference in New Issue
Block a user