       @isSoftWrapped()
 
   isSoftWrapped: ->
-    @softWrapped ? atom.config.get(@getRootScopeDescriptor(), 'editor.softWrap') ? false
+    @softWrapped ? @configSettings.softWrap ? false
 
   # Set the number of characters that fit horizontally in the editor.
   #

      @editorWidthInChars

  getSoftWrapColumn: ->
    if atom.config.get(@getRootScopeDescriptor(), 'editor.softWrapAtPreferredLineLength')
      Math.min(@getEditorWidthInChars(), atom.config.get(@getRootScopeDescriptor(), 'editor.preferredLineLength'))
    else
      @getEditorWidthInChars()


    @foldsByMarkerId = {}
    @decorationsById = {}
    @decorationsByMarkerId = {}
    @subscribe @tokenizedBuffer.observeGrammar @subscribeToScopedConfigSettings
    @subscribe @tokenizedBuffer.onDidChange @handleTokenizedBufferChange
    @subscribe @buffer.onDidUpdateMarkers @handleBufferMarkersUpdated
    @subscribe @buffer.onDidCreateMarker @handleBufferMarkerCreated
    @updateAllScreenLines()
    @createFoldForMarker(marker) for marker in @buffer.findMarkers(@getFoldMarkerAttributes())

  subscribeToScopedConfigSettings: =>
    @scopedConfigSubscriptions?.dispose()
