• Jackson Ray Hamilton's avatar
    Split JSX indentation calculation into several functions · afec4511
    Jackson Ray Hamilton authored
    * 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.
    afec4511
js.el 162 KB