You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
531 B
Lua
15 lines
531 B
Lua
3 years ago
|
require'nvim-treesitter.configs'.setup {
|
||
3 years ago
|
ensure_installed = {
|
||
2 years ago
|
'bash', 'c', 'css', 'dockerfile', 'html', 'http', 'java', 'json',
|
||
|
'json5', 'latex', 'lua', 'make', 'markdown', 'php', 'python', 'regex',
|
||
|
'rst', 'scss', 'toml', 'tsx', 'typescript', 'javascript', 'yaml'
|
||
3 years ago
|
},
|
||
3 years ago
|
highlight = {enable = true},
|
||
|
indent = {enable = true},
|
||
3 years ago
|
incremental_selection = {enable = true},
|
||
|
context_commentstring = {enable = true}
|
||
3 years ago
|
}
|
||
3 years ago
|
|
||
2 years ago
|
--vim.wo.foldmethod = 'expr'
|
||
|
--im.wo.foldexpr = 'nvim_treesitter#foldexpr()'
|