60 lines
1.1 KiB
Lua
60 lines
1.1 KiB
Lua
return {
|
|
|
|
-- add more treesitter parsers, used for e.g. theming and other plugins
|
|
-- https://github.com/nvim-treesitter/nvim-treesitter#supported-languages
|
|
{
|
|
"nvim-treesitter/nvim-treesitter",
|
|
-- opts will be merged with the parent spec
|
|
opts = {
|
|
ensure_installed = {
|
|
"bash",
|
|
"c",
|
|
"comment",
|
|
"css",
|
|
"diff",
|
|
"git_config",
|
|
"git_rebase",
|
|
"go",
|
|
"gomod",
|
|
"html",
|
|
"http",
|
|
"javascript",
|
|
"json",
|
|
"lua",
|
|
"make",
|
|
"markdown",
|
|
"markdown_inline",
|
|
"proto",
|
|
"python",
|
|
"query",
|
|
"graphql",
|
|
"regex",
|
|
"rst",
|
|
"rust",
|
|
"scss",
|
|
"svelte",
|
|
"swift",
|
|
"sql",
|
|
"terraform",
|
|
"tsx",
|
|
"typescript",
|
|
"vim",
|
|
"vue",
|
|
"yaml",
|
|
},
|
|
autotag = {
|
|
enable = true,
|
|
},
|
|
},
|
|
},
|
|
|
|
-- https://github.com/nvim-treesitter/nvim-treesitter-context
|
|
{
|
|
"nvim-treesitter/nvim-treesitter-context",
|
|
dependencies = { "nvim-treesitter/nvim-treesitter" },
|
|
},
|
|
{
|
|
"windwp/nvim-ts-autotag",
|
|
},
|
|
}
|