Three treesitter Errors From Migrating nvim-treesitter master → main (Neovim 0.12)

Around the time I bumped Neovim to 0.12.4, nvim-treesitter errors started piling up one after another. Tracing them all leads back to a single fact: nvim-treesitter’s master branch is already EOL and can’t keep up with Neovim 0.12. Migrating to the main branch fixed it, but here’s the path there — plus one more pitfall I stepped on after the migration. Environment: Item Value Neovim v0.12.4 (Arch Linux) nvim-treesitter master (tag v0.10.0, frozen May 2025) → migrated to main Plugin manager Lazy.nvim Symptom 1: Opening Markdown crashes on a gotmpl parser The moment I open a Markdown file, it halts with an error (Press ENTER or type command to continue). ...