• Jackson Ray Hamilton's avatar
    Improve JSX syntax propertization · 8b92719b
    Jackson Ray Hamilton authored
    * lisp/progmodes/js.el (js-jsx--attribute-name-re): New variable.
    (js-jsx--syntax-propertize-tag): Allow “-” in JSXAttribute names.  Fix
    “out of range” error when typing at the end of a buffer.  Fix/improve
    future propertization of unfinished JSXBoundaryElements.
    
    * test/manual/indent/js-jsx-unclosed-2.js: Add tests for allowed
    characters in JSX.
    8b92719b
js.el 162 KB