GNU bug report logs -
#66646
29.1.90; No tsx syntax highlithting in typescript-ts-mode
Previous Next
Reported by: rrudakov <at> fastmail.com
Date: Fri, 20 Oct 2023 10:15:01 UTC
Severity: normal
Found in version 29.1.90
Fixed in version 29.2
Done: Dmitry Gutov <dmitry <at> gutov.dev>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 66646 <at> debbugs.gnu.org (full text, mbox):
> From: Roman Rudakov <rrudakov <at> fastmail.com>
> Date: Fri, 20 Oct 2023 12:13:15 +0200
>
>
> - install the latest typescript/tsx grammar.
> - open a .tsx source file
>
> I'm getting the following error in the *Messages* buffer:
>
> Error during redisplay: (jit-lock-function 1) signaled
> (treesit-query-error "Structure error at" 22 "(jsx_opening_element
> [(nested_identifier (identifier)) (identifier)]
> @typescript-ts-jsx-tag-face) (jsx_closing_element [(nested_identifier
> (identifier)) (identifier)] @typescript-ts-jsx-tag-face)
> (jsx_self_closing_element [(nested_identifier (identifier))
> (identifier)] @typescript-ts-jsx-tag-face) (jsx_attribute
> (property_identifier) @typescript-ts-jsx-attribute-face)" "Debug the
> query with `treesit-query-validate'")
I cannot reproduce this. I used a random *.tsx file on my system, and
didn't get any error. So please post the file you used, and also
describe step by step what to do to reproduce the problem starting
from "emacs -Q".
Thanks.
This bug report was last modified 1 year and 273 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.