26 lines
498 B
Lua
26 lines
498 B
Lua
return {
|
|
"nvim-treesitter/nvim-treesitter",
|
|
build = ":TSUpdate",
|
|
opts = {
|
|
ensure_installed = {
|
|
"bash",
|
|
"c",
|
|
"diff",
|
|
"html",
|
|
"lua",
|
|
"luadoc",
|
|
"markdown",
|
|
"nix",
|
|
"vim",
|
|
"vimdoc",
|
|
},
|
|
|
|
auto_install = true,
|
|
highlight = { enable = true },
|
|
indent = { enable = true },
|
|
},
|
|
config = function(_, opts)
|
|
require("nvim-treesitter.install").prefer_git = true
|
|
require("nvim-treesitter.configs").setup(opts)
|
|
end,
|
|
}
|