Commit ae0ee9bc authored by Committed by Marcin Borkowski
Split JSX indentation calculation into several functions
* lisp/progmodes/js.el (js-jsx--contextual-indentation) (js-jsx--expr-attribute-pos, js-jsx--expr-indentation): Extract logic from js-jsx--indentation, and improve the logic’s documentation. (js-jsx--indentation): Simplify by splitting into several functions (see above) and improve the logic’s documentation.
Showing with 81 additions and 65 deletions