39 lines
915 B
Lua
39 lines
915 B
Lua
return {
|
|
{ -- Highlight, edit, and navigate code
|
|
"nvim-treesitter/nvim-treesitter",
|
|
build = ":TSUpdate",
|
|
opts = {
|
|
ensure_installed = {
|
|
"c++",
|
|
"matlab",
|
|
"regex",
|
|
"octave",
|
|
"yaml",
|
|
"python",
|
|
"latex",
|
|
"typst",
|
|
"zsh",
|
|
"markdown_inline",
|
|
"typst",
|
|
"comment",
|
|
"bash",
|
|
"c",
|
|
"html",
|
|
"lua",
|
|
"markdown",
|
|
"vim",
|
|
"vimdoc",
|
|
},
|
|
auto_install = true,
|
|
highlight = {
|
|
enable = true,
|
|
additional_vim_regex_highlighting = false,
|
|
-- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.
|
|
-- If you are experiencing weird indenting issues, add the language to
|
|
-- the list of additional_vim_regex_highlighting and disabled languages for indent.
|
|
additional_vim_regex_highlighting = { "ruby", "markdown" },
|
|
},
|
|
indent = { enable = true, disable = { "ruby, markdown" } },
|
|
},
|
|
},
|
|
}
|