snamellitRecently with verion 0.25 the treesitter library changed ABI version<br> to 15. Newer parsers will complain about a version mismatch if the<br> installed library used by emacs is lower than this version. This ABI<br> version was introduced in the 0.25 branch of treesitter.<br><br> The best course of action till lib treesitter is updated is to pin<br> the version of the parser to the last version supporting ABI 14.<br><br> With the new ABI 15 version, parsers are required to provide a<br> ~treesitter.json~ file with additional metadata which can be used as<br> proxy to find a version which still supports ABI-14, i.e. the commit<br> before that.<br><br> A lot of the parsers are provided by the treesitter project as sub<br> repos, and they follow the same version convention as the library,<br> selecting the last tag before the 0.25 tag is a good way to find a<br> compatible version.<br><br> This branch can be added after the repo url in the<br> ~treesit-language-source-alist~ variable. Note that if you use<br> ~treesit-auto-install-all~ to get it over with, you have to probably<br> restart your emacs as treesit-auto apparently caches the value<br> during iniitialisation and changes are not picked up. <a class="hashtag" href="https://social.snamellit.com/tag/emacs" rel="nofollow noopener" target="_blank">#emacs</a> <a class="hashtag" href="https://social.snamellit.com/tag/treesitter" rel="nofollow noopener" target="_blank">#treesitter</a>