return { "nvim-treesitter/nvim-treesitter", build = ":TSUpdate", config = function() require("nvim-treesitter.configs").setup({ ensure_installed = { "lua", "go", "zig", "markdown", "json", "yaml", "javascript", "typescript", "bash", "python", "c_sharp", "cpp", "gleam", "svelte" }, indent = { enable = true }, sync_install = false, highlight = { enable = true }, }) local treesitter_parser_config = require("nvim-treesitter.parsers").get_parser_configs() treesitter_parser_config.templ = { install_info = { url = "https://github.com/vrischmann/tree-sitter-templ.git", files = { "src/parser.c", "src/scanner.c" }, branch = "master", }, } vim.treesitter.language.register("templ", "templ") end }