In an email to the mailing list, Berthold Höllmann noted that the recent update to tree-sitter appears to have broken Emacs. Launching it, even without any configuration, gives a long spiel (a stacktrace?) ending with
Symbol’s value as variable is void: /usr/lib64/tree-sitter
Höllmann says this is due to the file /usr/share/emacs/site-lisp/site-start.d/tree-sitter-load-path.el, which contains:
;; -*- lexical-binding: t -*-
;; Add tree-sitter grammars packaged by openSUSE
(add-to-list 'treesit-extra-load-path /usr/lib64/tree-sitter)
and notes that it appears you can solve it by adding double quotes around /usr/lib64/tree-sitter, which also worked for me. Is this just a simple syntax mistake, or is there more to it? If so, how can it best be reported and fixed?