diff options
author | Yuan Fu <casouri@gmail.com> | 2024-12-12 21:42:44 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2024-12-12 21:45:25 -0800 |
commit | 989cdb2c35889476702e4d2bd82d8195fa2e7ec0 (patch) | |
tree | a9c1af4c38e1851c1fe1924bf930089144b09556 /lisp/emacs-lisp | |
parent | 9377ef5c2369202e372774c873af4d6c259cd28f (diff) | |
download | emacs-989cdb2c35889476702e4d2bd82d8195fa2e7ec0.tar.gz emacs-989cdb2c35889476702e4d2bd82d8195fa2e7ec0.tar.bz2 emacs-989cdb2c35889476702e4d2bd82d8195fa2e7ec0.zip |
Apply string syntax only to string in jsx (bug#73978)
The current code applies string syntax to too many things. This
patch makes tsx-ts-mode (and friends) only apply string syntax
to actual text in tsx/jsx.
* lisp/progmodes/typescript-ts-mode.el:
(tsx-ts--s-p-query): Only capture jsx_text.
(tsx-ts--syntax-propertize-captures): handle the case when the
text is one character long.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions