]> git.eshelyaron.com Git - emacs.git/commit
Ignore comments and strings when matching JSX
authorJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Sat, 7 Dec 2019 21:10:45 +0000 (13:10 -0800)
committerJackson Ray Hamilton <jackson@jacksonrayhamilton.com>
Sat, 7 Dec 2019 21:18:00 +0000 (13:18 -0800)
commit8e1c553260b04ce692986d428472490230b0a807
tree6472ee82ec9e2ca1e0966ea10e08a788c10cbc28
parentc299c9b6fb578091da7878cdf41cd3618f7331d7
Ignore comments and strings when matching JSX

* lisp/progmodes/js.el (js-jsx--matching-close-tag-pos): Ignore
comments and strings.
* test/manual/indent/jsx-comment-string.jsx: New test.
lisp/progmodes/js.el
test/manual/indent/jsx-comment-string.jsx