disable folding
This commit is contained in:
@@ -109,10 +109,10 @@ opt.background = 'dark'
|
|||||||
opt.shortmess:append('sI')
|
opt.shortmess:append('sI')
|
||||||
|
|
||||||
-- Treesitter based folding
|
-- Treesitter based folding
|
||||||
opt.foldlevel = 20
|
-- opt.foldlevel = 20
|
||||||
opt.foldmethod = 'expr'
|
-- opt.foldmethod = 'expr'
|
||||||
opt.foldexpr = 'nvim_treesitter#foldexpr()'
|
-- opt.foldexpr = 'nvim_treesitter#foldexpr()'
|
||||||
opt.foldexpr = 'nvim_treesitter#foldexpr()'
|
-- opt.foldexpr = 'nvim_treesitter#foldexpr()'
|
||||||
|
|
||||||
if vim.fn.has('nvim-0.12') == 1 then
|
if vim.fn.has('nvim-0.12') == 1 then
|
||||||
vim.o.diffopt = 'internal,filler,closeoff,inline:simple,linematch:40'
|
vim.o.diffopt = 'internal,filler,closeoff,inline:simple,linematch:40'
|
||||||
|
|||||||
Reference in New Issue
Block a user