       @mark parseTree, '', 0
 
     guessPrefix: (bounds) ->
-      votes = {}
-      for i in [bounds.start.line + 1..bounds.end.line]
-        line = @lines[i]
-        prefix = line[0...line.length - line.trimLeft().length]
-        votes[prefix] ?= 0
-        votes[prefix] += 1
-      max = -Infinity; best = ''
-      for key, val of votes
-        if val > max
-          best = key
-          max = val
-      return best
+      line = @lines[bounds.start.line + 1]
+      return line[0...line.length - line.trimLeft().length]
 
     applyRule: (rule, node) ->
       if 'string' is typeof rule

        for child in node.children
          @mark child, prefix, depth + 2, false
      else if context? and @detNode(context) is 'block'
        if @det(node) is 'socket' and config.SHOULD_SOCKET(@opts, node)
          @addSocket
            bounds: node.bounds
            depth: depth

      rules.push node.type

      # Pass through to child if single-child
      if node.children.length is 1 and @detNode(node) isnt 'indent'
        @mark node.children[0], prefix, depth, true, rules, context, wrap, wrapRules

      else if node.children.length > 0
