mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-08 00:20:53 -08:00
Fix some JSX indentation bugs: - Bug#24896 / https://github.com/mooz/js2-mode/issues/389 - Bug#30225 - https://github.com/mooz/js2-mode/issues/459 * lisp/progmodes/js.el (js--dotted-captured-name-re) (js--unary-keyword-re, js--unary-keyword-p) (js--disambiguate-beginning-of-jsx-tag) (js--disambiguate-end-of-jsx-tag) (js--disambiguate-js-from-jsx): New variables and functions. (js-syntax-propertize): Additionally clarify when syntax is JS so that ‘(with-syntax-table sgml-mode-syntax-table …)’ does not mistake some JS punctuation syntax for SGML parenthesis syntax, namely ‘<’ and ‘>’. * test/manual/indent/js-jsx-unclosed-2.js: Add additional test for unary operator parsing. |
||
|---|---|---|
| .. | ||
| cedet | ||
| etags | ||
| indent | ||
| BidiCharacterTest.txt | ||
| biditest.el | ||
| image-size-tests.el | ||
| redisplay-testsuite.el | ||
| rmailmm.el | ||
| scroll-tests.el | ||