aboutsummaryrefslogtreecommitdiff
path: root/autoload/paste_insert.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/paste_insert.vim')
-rw-r--r--autoload/paste_insert.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload/paste_insert.vim b/autoload/paste_insert.vim
index e0463a9..f40371b 100644
--- a/autoload/paste_insert.vim
+++ b/autoload/paste_insert.vim
@@ -109,7 +109,7 @@ function! s:Start() abort
" If we collected two mappings, the first one must have been buffer-local,
" and Vim before 7.3.032 won't have told us that
- if len(maps) == 2
+ if len(maps) == 2 && !has_key(maps[0], 'buffer')
let maps[0]['buffer'] = 1
endif