1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
return {
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
event = { "BufReadPost", "BufNewFile" },
lazy = false,
config = function()
require("nvim-treesitter.configs").setup({
ensure_installed = {
--"c",
"bash",
"markdown",
"markdown_inline",
"bibtex",
"latex",
"vimdoc",
},
--ignore_installed = { "c" },
sync_install = false,
auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
disable = { "c", "cpp", "h" }
}
})
end,
},
}
|