Subject: Re: bug#79363: 31.0.50; Font locking issue in go-ts-mode when tree-sitter grammar is automatically installed

From: Juri Linkov <[email-masked]>
Date: Sun, 07 Sep 2025 20:47:27 +0300

Thanks, now all 3 patches are pushed.

Are there other ts-modes that need the same fix?

I see that treesit-admin--generate-compatibility-report reports a warning for javascript:

  Warning (treesit-font-lock-rules-mismatch): Emacs cannot compile every
  font-lock rules because a mismatch between the grammar and the rules.
  This is most likely due to a mismatch between the font-lock rules
  defined by the major mode and the tree-sitter grammar.
  This error can be fixed by either downgrading the grammar
  (tree-sitter-javascript) on your system, or upgrading the major mode
  package.  The following are the temporarily disabled features:
  - `definition' for javascript.