28 lines
555 B
Lua
28 lines
555 B
Lua
return {
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
build = ":TSUpdate",
|
|
config = function()
|
|
local configs = require "nvim-treesitter.configs"
|
|
|
|
configs.setup {
|
|
ensure_installed = {
|
|
"c",
|
|
"lua",
|
|
"vim",
|
|
"vimdoc",
|
|
"query",
|
|
"markdown",
|
|
"json",
|
|
"javascript",
|
|
"cpp",
|
|
"hlsl",
|
|
"jsdoc",
|
|
},
|
|
sync_install = false,
|
|
highlight = { enable = true },
|
|
indent = { enable = true },
|
|
}
|
|
end,
|
|
},
|
|
}
|