Make atomic leading whitespace optional (defaults to enabled)

Closes #3174
This commit is contained in:
Nathan Sobo
2016-04-08 15:30:33 -06:00
parent be05071462
commit effe882a8d
2 changed files with 5 additions and 0 deletions

View File

@@ -278,6 +278,7 @@ class TextEditor extends Model
invisibles: @getInvisibles(),
softWrapColumn: @getSoftWrapColumn(),
showIndentGuides: @config.get('editor.showIndentGuide', scope: @getRootScopeDescriptor()),
atomicSoftTabs: @config.get('editor.atomicSoftTabs', scope: @getRootScopeDescriptor()),
tabLength: @getTabLength(),
ratioForCharacter: @ratioForCharacter.bind(this),
isWrapBoundary: isWrapBoundary,