diff --git a/src/editor.coffee b/src/editor.coffee index 451e84b0c..2e8269ff9 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -354,7 +354,7 @@ class Editor extends Model for bufferRow in [0..@buffer.getLastRow()] continue if @displayBuffer.tokenizedBuffer.lineForScreenRow(bufferRow).isComment() if match = @buffer.lineForRow(bufferRow).match(/^\s/) - return match[0][0] != '\t' + return match[0][0] == ' ' undefined # Public: Clip the given {Point} to a valid position in the buffer.