[Treesitter] Enable folding, add parsers
This commit is contained in:
1 parent
ced6316866
commit
d20ec7a2e7
2 files changed
+7
No files matched your search
@@ -15,6 +15,10 @@ vim.opt.expandtab = true
|
||||
vim.opt.breakindent = true
|
||||
vim.opt.linebreak = true
|
||||
|
||||
-- folding
|
||||
vim.wo.foldmethod = 'expr'
|
||||
vim.wo.foldexpr = 'v:lua.vim.treesitter.foldexpr()'
|
||||
|
||||
-- line numbers
|
||||
vim.wo.number = true
|
||||
vim.wo.cursorline = true
|
||||
|
||||
@@ -19,11 +19,13 @@ return {
|
||||
-- "latex",
|
||||
"lua",
|
||||
"markdown",
|
||||
"meson",
|
||||
"nginx",
|
||||
"php",
|
||||
"python",
|
||||
"rasi",
|
||||
"requirements",
|
||||
"robots",
|
||||
"ruby",
|
||||
"rust",
|
||||
"scss",
|
||||
@@ -37,6 +39,7 @@ return {
|
||||
"vue",
|
||||
"xml",
|
||||
"yaml",
|
||||
"zathurarc"
|
||||
},
|
||||
sync_install = false,
|
||||
|
||||
|
||||
Reference in new issue
Block a user