diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-23 01:03:57 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-23 01:03:57 +1200 |
commit | 5b66951630ff1c60aa0ef7331a8c9538ca724510 (patch) | |
tree | eabdc4a5840ddafea730f42afe2586829bea9f2e | |
parent | Don't fill out .buffer property if already set (diff) | |
download | vim-paste-insert-5b66951630ff1c60aa0ef7331a8c9538ca724510.tar.gz vim-paste-insert-5b66951630ff1c60aa0ef7331a8c9538ca724510.zip |
Flesh out comment a little
-rw-r--r-- | autoload/paste_insert.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/paste_insert.vim b/autoload/paste_insert.vim index f40371b..32b60e4 100644 --- a/autoload/paste_insert.vim +++ b/autoload/paste_insert.vim @@ -108,7 +108,8 @@ function! s:Start() abort endtry " 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 + " and Vim before 7.3.032 won't have told us that, so we'll flag it now + " if len(maps) == 2 && !has_key(maps[0], 'buffer') let maps[0]['buffer'] = 1 endif |