diff --git a/plugin/auto-pairs.vim b/plugin/auto-pairs.vim index 97217de..eea258f 100644 --- a/plugin/auto-pairs.vim +++ b/plugin/auto-pairs.vim @@ -285,6 +285,8 @@ function! AutoPairsForceInit() endif endfunction +" Always silent the command +inoremap AutoPairsReturn =AutoPairsReturn() " Global keys mapping " comptible with other plugin @@ -295,7 +297,7 @@ if g:AutoPairsMapCR endif if old_cr !~ 'AutoPairsReturn' - execute 'imap '.old_cr.'=AutoPairsReturn()' + execute 'imap '.old_cr.'AutoPairsReturn' end endif