Permalink
Browse files

Stop cascading errors

  • Loading branch information...
1 parent af19af8 commit eba1ad55abdb56919ab27ad5bbe934de7f67c467 @tpope committed Aug 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/commentary.vim
View
@@ -8,7 +8,7 @@ if exists("g:loaded_commentary") || &cp || v:version < 700
endif
let g:loaded_commentary = 1
-function! s:go(type)
+function! s:go(type) abort
if a:type =~ '^\d\+$'
let [lnum1, lnum2] = [line("."), line(".") + a:type - 1]
elseif a:type =~ '^.$'

0 comments on commit eba1ad5

Please sign in to comment.