Add "text" as a thing in tsx-ts-mode
* lisp/progmodes/typescript-ts-mode.el (tsx-ts-mode): Add definition of "text" (bug#75422). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
59c5733792
commit
01464fc882
1 changed files with 3 additions and 1 deletions
|
@ -564,7 +564,9 @@ at least 3 (which is the default value)."
|
|||
(sentence ,(regexp-opt
|
||||
(append typescript-ts-mode--sentence-nodes
|
||||
'("jsx_element"
|
||||
"jsx_self_closing_element")))))))
|
||||
"jsx_self_closing_element"))))
|
||||
(text ,(regexp-opt '("comment"
|
||||
"template_string"))))))
|
||||
|
||||
;; Font-lock.
|
||||
(setq-local treesit-font-lock-settings
|
||||
|
|
Loading…
Add table
Reference in a new issue