34 lines
641 B
Lua
34 lines
641 B
Lua
-- https://github.com/nvim-treesitter/nvim-treesitter
|
|
return {
|
|
"nvim-treesitter/nvim-treesitter",
|
|
lazy = false,
|
|
build = ":TSUpdate",
|
|
config = function()
|
|
-- import nvim-treesitter plugin
|
|
local treesitter = require("nvim-treesitter")
|
|
|
|
-- configure treesitter
|
|
treesitter.setup({})
|
|
-- install parsers
|
|
treesitter.install({
|
|
"bash",
|
|
"dockerfile",
|
|
"gitignore",
|
|
"jinja",
|
|
"jinja_inline",
|
|
"json",
|
|
"hcl",
|
|
"helm",
|
|
"lua",
|
|
"luadoc",
|
|
"luap",
|
|
"markdown",
|
|
"markdown_inline",
|
|
"nginx",
|
|
"vim",
|
|
"vimdoc",
|
|
"yaml",
|
|
})
|
|
end,
|
|
}
|