diff --git a/autoload/after_object.vim b/autoload/after_object.vim index f10bfcd..959cc31 100644 --- a/autoload/after_object.vim +++ b/autoload/after_object.vim @@ -77,6 +77,9 @@ function! s:after(str, cnt, vis, bw) augroup END endif finally + if histget(':', -1) =~ '[0-9_]*after(' + call histdel(':', -1) + endif echo endtry endfunction