summaryrefslogtreecommitdiff
path: root/test/manual/indent/js-jsx.js
diff options
context:
space:
mode:
authorJackson Ray Hamilton <jackson@jacksonrayhamilton.com>2019-03-24 09:55:14 -0700
committerJackson Ray Hamilton <jackson@jacksonrayhamilton.com>2019-04-08 22:48:22 -0700
commit8b92719b6b31d26299b5feae0ea92bb80f835e3d (patch)
treec406d203b06a1832de0b7d299f9ed0acad60e0be /test/manual/indent/js-jsx.js
parentbf37078df2cbea3a44a641ddbe40f11339c135a2 (diff)
downloademacs-8b92719b6b31d26299b5feae0ea92bb80f835e3d.tar.gz
emacs-8b92719b6b31d26299b5feae0ea92bb80f835e3d.tar.bz2
emacs-8b92719b6b31d26299b5feae0ea92bb80f835e3d.zip
Improve JSX syntax propertization
* 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.
Diffstat (limited to 'test/manual/indent/js-jsx.js')
0 files changed, 0 insertions, 0 deletions