diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-06-05 00:25:01 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-06-05 00:25:01 +1200 |
commit | f07219ec4a55023979c8224562283284853089eb (patch) | |
tree | 23a785eae0fb6a216d6c159b295001d6d336aadf | |
parent | bcd3b060ac469c6a7677af5129efdabdee736991 (diff) | |
parent | 3c21635fcc52b8e305e89cbe5b6b78b35cd42a89 (diff) | |
download | vim-paste-insert-develop.tar.gz vim-paste-insert-develop.zip |
Merge branch 'hotfix/v1.0.2' into developdevelop
* hotfix/v1.0.2:
Prevent errors when mapping is pressed twice
-rw-r--r-- | VERSION | 2 | ||||
-rw-r--r-- | autoload/paste_insert.vim | 5 |
2 files changed, 6 insertions, 1 deletions
@@ -1 +1 @@ -1.0.1 +1.0.2 diff --git a/autoload/paste_insert.vim b/autoload/paste_insert.vim index 49f630f..dc87c98 100644 --- a/autoload/paste_insert.vim +++ b/autoload/paste_insert.vim @@ -1,6 +1,11 @@ " Autoloaded entry point function function! paste_insert#() abort + " Stop and do nothing if already in the middle of a paste + if exists('#paste_insert#User#Start') + return + endif + " Set up an event table augroup paste_insert autocmd! |