tree-sitter-langs icon indicating copy to clipboard operation
tree-sitter-langs copied to clipboard

Highlighting issue

Open georgtree opened this issue 9 months ago • 2 comments
trafficstars

Hello! I have highlighting issue with tree-sitter-hl-mode: sometimes highlighting breaks:

Image

And it recovers if I make any edit in the file:

Image

I thing there is some update issue for unknown reason. Emacs version: GNU Emacs 30.0.93 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2025-01-17

Config:

(use-package tree-sitter
  :ensure t)
(use-package tree-sitter-langs
  :ensure t
  :config
  (global-tree-sitter-mode)
  (add-hook 'tcl-mode-hook #'tree-sitter-hl-mode)
  (add-hook 'latex-mode-hook #'tree-sitter-hl-mode))

Thank you!

georgtree avatar Feb 24 '25 00:02 georgtree

Hmmm... I'm not sure. Does this happen in Emacs 29 as well? 🤔

jcs090218 avatar Feb 24 '25 06:02 jcs090218

Hello, yes, and the same issue is on Windows version of Emacs, 29 and 30 version released yesterday.

georgtree avatar Feb 24 '25 10:02 georgtree