Closed mnbroatch closed 8 years ago
I'm... not really sure what indentation you're expecting here. There are more parallel stylistic choices that can lead to reasonable indentation with a nested ternary-selected element—I've attached an example—but you can't expect an indenter to support all possible desired styles...
Hi, I'm using pangloss vim and there's a pretty minor issue I'm seeing...
When using a ternary operator in react with jsx as the expressions, I get a wrong indentation.
It's a pretty ugly pattern anyway, and I'm refactoring it right immediately, but I thought you might want to know, for completeness' sake.