Vim (and so many other editors, too) supported syntax highlighting for decades before TreeSitter even existed. Let’s not act as if this is a novel challenge.