• Jackson Ray Hamilton's avatar
    Identify JSX strings (for js2-mode) · 3eadf1ef
    Jackson Ray Hamilton authored
    * lisp/progmodes/js.el (js-jsx--syntax-propertize-tag): Derived modes
    like js2-mode may use font-lock-syntactic-face-function to apply faces
    to JSX strings (and only JSX strings).  Apply the js-jsx-string text
    property to such strings so they can be distinctly identified.
    (js-jsx--text-properties): Ensure the js-jsx-string text property gets
    cleaned up, too.
    3eadf1ef
js.el 163 KB