       @updateDecorations()
       @updateLinesState()
       @updateLineNumberGutterState()
+      @updateCustomGutterState()
       @updateLineNumbersState()
     @disposables.add @model.onDidChangeGrammar(@didChangeGrammar.bind(this))
     @disposables.add @model.onDidChangePlaceholderText(@updateContentState.bind(this))

      @gutterBackgroundColor
    else
      @backgroundColor

  updateLineNumbersState: -> @batch "shouldUpdateLineNumbersState", ->
    return unless @startRow? and @endRow? and @lineHeight?

    @configDisposables.add atom.config.onDidChange 'editor.showLineNumbers', configParams, ({newValue}) =>
      @showLineNumbers = newValue
      @updateLineNumberGutterState()
      @updateCustomGutterState()

  didChangeGrammar: ->
    @observeConfig()
    @updateContentState()
    @updateLineNumberGutterState()
    @updateCustomGutterState()

  buildState: ->
    @state =
