fix(nvim): properly set folding for treesitter
This commit is contained in:
parent
6b3a011b78
commit
6424c213de
@ -65,6 +65,8 @@ M.setup = function()
|
||||
opt.foldmethod = "expr"
|
||||
opt.fillchars = { fold = " " }
|
||||
opt.foldlevel = 20
|
||||
vim.wo.foldexpr = "nvim_treesitter#foldexpr()"
|
||||
vim.wo.foldmethod = "expr"
|
||||
|
||||
-- Concealment for nicer rendering
|
||||
opt.conceallevel = 2
|
||||
|
Loading…
Reference in New Issue
Block a user