summaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
authorJackson Ray Hamilton <jackson@jacksonrayhamilton.com>2019-04-09 19:42:49 -0700
committerJackson Ray Hamilton <jackson@jacksonrayhamilton.com>2019-04-09 19:42:49 -0700
commitf29010729f85434ee24efd0d7ed29b7e24cf8be6 (patch)
tree8ae675f30a8bcd55f4771802a47975abc18ed1b8 /src/json.c
parentc0b09f42f5107dc009629ee73a790ca1d62d290a (diff)
downloademacs-f29010729f85434ee24efd0d7ed29b7e24cf8be6.tar.gz
emacs-f29010729f85434ee24efd0d7ed29b7e24cf8be6.tar.bz2
emacs-f29010729f85434ee24efd0d7ed29b7e24cf8be6.zip
Add new defcustom js-jsx-align->-with-<
* lisp/progmodes/js.el (js-jsx-align->-with-<): New variable for users to control one opinionated aspect of JSX indentation. It defaults to the style seen in the React docs, which many users expected as the “correct” indentation. Still, the old SGML-style of indentation could be desirable too, especially since it was the old default. This ensures users have a way of getting back the old behavior. (js-jsx--contextual-indentation): Respect js-jsx-align->-with-<. * test/manual/indent/jsx-align-gt-with-lt.jsx: New test for js-jsx-align->-with-<.
Diffstat (limited to 'src/json.c')
0 files changed, 0 insertions, 0 deletions