(tsx-ts--s-p-query): Bind 'jsx_opening_element' and
'jsx_closing_element' to @jsx to be able to use the < and > syntax
for angle brackets in 'tsx-ts--syntax-propertize-captures' (bug#73978).
(cherry picked from commit
fafcc8458e805e5c7d7785aa7e943bacfadcf79d)
(when (treesit-available-p)
(treesit-query-compile 'tsx
'(((regex pattern: (regex_pattern) @regexp))
- ((jsx_text) @jsx)))))
+ ((jsx_text) @jsx)
+ ((jsx_opening_element) @jsx)
+ ((jsx_closing_element) @jsx)))))
(defun typescript-ts--syntax-propertize (beg end)
(let ((captures (treesit-query-capture 'typescript typescript-ts--s-p-query beg end)))