dotfiles/.config/nvim/lua/plugins/treesitter.lua
2023-10-20 12:06:35 +02:00

74 lines
1.3 KiB
Lua

return {
{
"nvim-treesitter/nvim-treesitter",
---@type TSConfig
---@diagnostic disable-next-line: missing-fields
opts = {
-- autotag = { enable = true },
endwise = { enable = true },
highlight = { enable = true },
indent = { enable = true },
ensure_installed = {
"bash",
"c",
"diff",
"html",
"javascript",
"jsdoc",
"json",
"jsonc",
"lua",
"luadoc",
"luap",
"markdown",
"markdown_inline",
"python",
"query",
"regex",
"toml",
"tsx",
"typescript",
"vim",
"vimdoc",
"yaml",
"arduino",
"diff",
"dart",
"css",
"c_sharp",
"comment",
"fish",
"git_config",
"git_rebase",
"gitattributes",
"gitcommit",
"gitignore",
"groovy",
"hjson",
"http",
"ini",
"luadoc",
"make",
"kotlin",
"julia",
"meson",
"perl",
"php",
"prisma",
"r",
"rasi",
"regex",
"ruby",
"sql",
"scss",
"slint",
"svelte",
"todotxt",
"vim",
"vue",
"hypr",
"java",
},
},
},
}