borela / naomi

Sublime Text enhanced syntax highlighting for JavaScript ES6/ES7/ES2015/ES2016/ES2017+, Babel, FlowType, React JSX, Styled Components, HTML5, SCSS3, PHP 7, phpDoc, PHPUnit, MQL4. Basic: Git config files.
Other
557 stars 20 forks source link

jsx attributes > indent #225

Open kud opened 5 years ago

kud commented 5 years ago

In the video, you've got what it does, and what I'd like to have:

Kapture 2019-07-29 at 14 32 09

ViggoV commented 3 years ago

@borela is there a way to disable Naomi's indentation settings completely and use the defaults? I've been poking around in the package, but it's not clear to me what's what. My main gripe is that wrapping multiple lines in braces indents the subsequent lines. Not even to match the first bracket but seemingly an arbitrary amount.

borela commented 3 years ago

@borela is there a way to disable Naomi's indentation settings completely and use the defaults? I've been poking around in the package, but it's not clear to me what's what. My main gripe is that wrapping multiple lines in braces indents the subsequent lines. Not even to match the first bracket but seemingly an arbitrary amount.

There's a directory called preferences, you can delete the files in there.