diff options
author | Jostein Kjønigsen <jostein@kjonigsen.net> | 2023-09-05 21:29:27 +0200 |
---|---|---|
committer | Dmitry Gutov <dmitry@gutov.dev> | 2023-09-13 01:54:45 +0300 |
commit | 1fb2fb501f34d7c08462209a798e65904ea7b8da (patch) | |
tree | fe985a69c2173f95445a352e97668d9980ba610a /lisp/emacs-lisp | |
parent | 946b395e7e1cd3685ca094531d8dbd1b89b0a7e6 (diff) | |
download | emacs-1fb2fb501f34d7c08462209a798e65904ea7b8da.tar.gz emacs-1fb2fb501f34d7c08462209a798e65904ea7b8da.tar.bz2 emacs-1fb2fb501f34d7c08462209a798e65904ea7b8da.zip |
typescript-ts-mode, tsx-ts-mode: Fix syntax properties for regexp and jsx
Propertize regexps as strings and JSX elements as generic strings.
* lisp/progmodes/typescript-ts-mode.el (ts-ts--s-p-query)
(tsx-ts--s-p-query): New variables.
(ts-ts--syntax-propertize, tsx-ts--syntax-propertize)
(ts-ts--syntax-propertize-captures): New functions.
(typescript-ts-mode, tsx-ts-mode): Use them (bug#65470).
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions