Pass softWrapHangingIndent option

This commit is contained in:
Nathan Sobo
2016-03-14 20:13:00 -06:00
parent 8888203005
commit e56c2addea

View File

@@ -55,6 +55,7 @@ class DisplayBuffer extends Model
tabLength: @getTabLength(), invisibles: @config.get('editor.invisibles'),
showIndentGuides: @config.get('editor.showIndentGuide'),
softWrapColumn: @config.get('editor.preferredLineLength')
softWrapHangingIndent: @config.get('editor.softWrapHangingIndent')
})
@displayLayer.setTextDecorationLayer(@tokenizedBuffer)
@charWidthsByScope = {}