From a3af966db5e092def7c0466be3b6261d4763edf1 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 21 Aug 2014 12:44:23 +0900 Subject: [PATCH] Remove s:after call from command history --- autoload/after_object.vim | 3 +++ 1 file changed, 3 insertions(+) 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