49 lines
924 B
Lua
49 lines
924 B
Lua
return {
|
|
{
|
|
'nvim-treesitter/nvim-treesitter',
|
|
build = ':TSUpdate',
|
|
dependencies = {
|
|
'nvim-treesitter/nvim-treesitter-textobjects',
|
|
},
|
|
opts = {
|
|
ensure_installed = {
|
|
'bash',
|
|
'c',
|
|
'cpp',
|
|
'diff',
|
|
'html',
|
|
'lua',
|
|
'luadoc',
|
|
'markdown',
|
|
'markdown_inline',
|
|
'query',
|
|
'vim',
|
|
'vimdoc',
|
|
'python',
|
|
'javascript',
|
|
'typescript',
|
|
'tsx',
|
|
'json',
|
|
'css',
|
|
'glsl',
|
|
'cmake',
|
|
'hlsl',
|
|
'ini',
|
|
},
|
|
auto_install = true,
|
|
highlight = {
|
|
enable = true,
|
|
additional_vim_regex_highlighting = { 'ruby' },
|
|
},
|
|
indent = { enable = true, disable = { 'ruby' } },
|
|
fold = {
|
|
enable = false,
|
|
},
|
|
},
|
|
},
|
|
{
|
|
'nvim-treesitter/nvim-treesitter-context',
|
|
opts = { max_lines = 2 },
|
|
},
|
|
}
|