You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
931 B
Lua
49 lines
931 B
Lua
return {
|
|
"nvim-treesitter/nvim-treesitter",
|
|
build = function()
|
|
require("nvim-treesitter.install").update({ with_sync = true })
|
|
end,
|
|
---@type TSConfig
|
|
opts = {
|
|
ensure_installed = {
|
|
"bash",
|
|
"css",
|
|
"dockerfile",
|
|
"git_config",
|
|
"git_rebase",
|
|
"gitattributes",
|
|
"gitcommit",
|
|
"gitignore",
|
|
"html",
|
|
"http",
|
|
"java",
|
|
"javascript",
|
|
"json",
|
|
"json5",
|
|
"latex",
|
|
"lua",
|
|
"make",
|
|
"markdown",
|
|
"markdown_inline",
|
|
"php",
|
|
"python",
|
|
"rasi",
|
|
"regex",
|
|
"rst",
|
|
"scss",
|
|
"toml",
|
|
"tsx",
|
|
"typescript",
|
|
"vim",
|
|
"yaml",
|
|
},
|
|
highlight = { enable = true },
|
|
indent = { enable = true },
|
|
incremental_selection = { enable = true },
|
|
context_commentstring = { enable = true },
|
|
sync_install = true,
|
|
ignore_install = {},
|
|
auto_install = true,
|
|
},
|
|
}
|