51 lines
1.1 KiB
Lua
51 lines
1.1 KiB
Lua
return {
|
|
'nvim-treesitter/nvim-treesitter',
|
|
branch = 'main',
|
|
lazy = false,
|
|
build = ":TSUpdate",
|
|
config = function()
|
|
local ts = require("nvim-treesitter")
|
|
local installed_parsers = {
|
|
"bash",
|
|
"javascript",
|
|
"typescript",
|
|
"python",
|
|
"go",
|
|
"terraform",
|
|
"hcl",
|
|
"helm",
|
|
"jq",
|
|
"yaml",
|
|
"tmux",
|
|
"lua",
|
|
"vim",
|
|
"vimdoc",
|
|
"latex",
|
|
"json",
|
|
"yaml",
|
|
"git_config",
|
|
"git_rebase",
|
|
"gitattributes",
|
|
"gitcommit",
|
|
"gitignore",
|
|
"make",
|
|
"markdown_inline",
|
|
"nginx",
|
|
"properties",
|
|
"ini",
|
|
"ssh_config",
|
|
"ssh_client_config",
|
|
"editorconfig",
|
|
"passwd",
|
|
"regex",
|
|
"sql",
|
|
"sqlite",
|
|
"toml",
|
|
"xml",
|
|
}
|
|
ts.setup()
|
|
ts.install(installed_parsers)
|
|
end
|
|
}
|
|
|