   decorationOptions = {type: 'highlight', class: options.class}
   editor.decorateMarker(m, decorationOptions) for m in markers
 
-  if options.timeout?
+  {timeout} = options
+  if timeout?
     setTimeout  ->
-      m.destroy() for m in markers
-    , options.timeout
+      marker.destroy() for marker in markers
+    , timeout
   markers
 
 # Return valid row from 0 to vimLastBufferRow

  else
    keystroke

isLinewiseRange = (range) ->
  (not range.isEmpty()) and (range.start.column is 0) and (range.end.column is 0)

isEndsWithNewLineForBufferRow = (editor, row) ->
  {start, end} = editor.bufferRangeForBufferRow(row, {includeNewline: true})

  {editor} = cursor
  row = cursor.getBufferRow()
  if editor.isFoldedAtBufferRow(row)
    editor.unfoldBufferRow(row)

markerOptions = {ivalidate: 'never', persistent: false}
# Return markers
