Update treesitter

This commit is contained in:
Pablu
2025-11-06 18:06:17 +01:00
parent f6e9194731
commit 418840eb27
3 changed files with 6 additions and 34 deletions

View File

@@ -2,11 +2,13 @@ return {
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
config = function()
local config = require("nvim-treesitter.configs")
config.setup({
ensure_installed = { "lua", "go", "zig", "markdown", "json", "yaml", "javascript", "typescript", "bash", "python", "c_sharp", "cpp", "gleam" },
highlight = { enable = true },
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()