add treesitter foldexpr
This commit is contained in:
parent
7b31e0ad53
commit
4d679834ff
2 changed files with 5 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
||||||
"lazyvim.plugins.extras.lang.typescript"
|
"lazyvim.plugins.extras.lang.typescript"
|
||||||
],
|
],
|
||||||
"news": {
|
"news": {
|
||||||
"NEWS.md": "2123"
|
"NEWS.md": "3314"
|
||||||
},
|
},
|
||||||
"version": 2
|
"version": 3
|
||||||
}
|
}
|
|
@ -11,3 +11,6 @@ vim.opt.tabstop = 4
|
||||||
vim.opt.shiftwidth = 4
|
vim.opt.shiftwidth = 4
|
||||||
vim.g.autoformat = false
|
vim.g.autoformat = false
|
||||||
vim.opt.completeopt = "menuone,noselect,preview"
|
vim.opt.completeopt = "menuone,noselect,preview"
|
||||||
|
vim.opt.foldmethod = "expr"
|
||||||
|
vim.opt.foldexpr = "nvim_treesitter#foldexpr()"
|
||||||
|
vim.opt.foldenable = false
|
||||||
|
|
Loading…
Reference in a new issue