]> git.eshelyaron.com Git - emacs.git/commit
Ignore comments and strings when recognizing JSX
authorJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Sun, 22 Sep 2019 19:55:44 +0000 (12:55 -0700)
committerJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Sun, 22 Sep 2019 19:55:44 +0000 (12:55 -0700)
commit9aacc443d9465793b96cb844469056ae80e6d91b
tree7c529b8beb8b1714768a43356bdfaf6ab37f4a33
parentee89c1cdb5a3bb7b69b763a59a20b34508ddf3ae
Ignore comments and strings when recognizing JSX

* lisp/progmodes/js.el (js-syntax-propertize): Ignore comments and
strings.
* test/manual/indent/jsx-comment-string.jsx: New test.
lisp/progmodes/js.el
test/manual/indent/jsx-comment-string.jsx [new file with mode: 0644]