   adjustRowRange: (startRow, endRow) ->
     if @isInner()
       startRow += 1
-      unless @language in @indentScopedLanguages
-        endRow -= 1
-    endRow += 1 if (@language in @omitingClosingCharLanguages)
+      endRow -= 1 unless @language in @indentScopedLanguages
+    endRow += 1 if (@language in @omittingClosingCharLanguages)
     [startRow, endRow]
 
 class AFunction extends Function

# Refactoring status: 95%
{Range} = require 'atom'
_    = require 'underscore-plus'

Base = require './base'
swrap = require './selection-wrapper'


  indentScopedLanguages: ['python', 'coffee']
  # FIXME: why go dont' fold closing '}' for function? this is dirty workaround.
  omittingClosingCharLanguages: ['go']

  initialize: ->
    @language = @editor.getGrammar().scopeName.replace(/^source\./, '')
