GNU bug report logs -
#59691
29.0.60; typescript-ts-mode: any HTML-like elements causes fontification to become invalid and remaining parse-tree to become jsx-expression
Previous Next
Reported by: jostein <at> kjonigsen.net
Date: Tue, 29 Nov 2022 20:04:01 UTC
Severity: normal
Found in version 29.0.60
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
>> Cool. I applied the patch, thanks Theo! I changed
>> typescript-ts-mode—base-mode to typescript-ts-base-mode, since I
>> don’t think anyone has strong opinions about its naming, and
>> typescript-ts-base-mode is more consistent with other tree-sitter
>> base modes.
>> Yuan
> Thanks! I believe this can be closed. What do you think, Jostein?
>
> Theo
Hey guys.
Amazing work! Sorry for being somewhat slow wrt to testing.
I had to rebuild some tree-sitter libraries, and the build-code in
admin/notes/tree-sitter/ seemingly didn't work out of the box for both
plain typescript and tsx. Yadda, yadda, yadda. I've modified the scripts
to also build for typescript/tsx. Do you wan't me to send in a patch for
that, Yuan?
Back to the point: Either way, I've tested both TS-code and TSX-code
now, and it seems to work much better.
I still see some errors in TSX-code I can't recall seing in the old mode
(and I might report those issues, once I have time to collect more
accurate data on them), but for now I definitely think what we have here
warrants marking this particular bug as closed. :)
--
Jostein
This bug report was last modified 2 years and 229 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.