feat(TS): use treesitter as foldexpr
This commit is contained in:
parent
a7cbaa33d8
commit
ec08eb8f29
@ -5,6 +5,9 @@ local opt = vim.opt
|
||||
|
||||
opt.autowrite = false
|
||||
opt.clipboard = ""
|
||||
opt.foldlevelstart = 3
|
||||
opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||
opt.foldmethod = "expr"
|
||||
opt.tabstop = 8
|
||||
opt.whichwrap = "b,s,<,>,[,]"
|
||||
|
||||
|
@ -97,5 +97,3 @@ return {
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
-- vim: fdm=indent fdl=2
|
||||
|
Loading…
Reference in New Issue
Block a user