diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-23 01:01:29 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-23 01:01:29 +1200 |
commit | f93775f827ea791bf7dcc872503b37205c2e4a5a (patch) | |
tree | f43fae6462abed99fc3ec7d942edb30195a11ec4 /autoload | |
parent | Clarify explanation of map settings a bit (diff) | |
download | vim-paste-insert-f93775f827ea791bf7dcc872503b37205c2e4a5a.tar.gz vim-paste-insert-f93775f827ea791bf7dcc872503b37205c2e4a5a.zip |
Clear event table only once so user can use it
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/paste_insert.vim | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/autoload/paste_insert.vim b/autoload/paste_insert.vim index 92fdc54..d8585c6 100644 --- a/autoload/paste_insert.vim +++ b/autoload/paste_insert.vim @@ -1,9 +1,11 @@ " Autoloaded entry point function function! paste_insert#() abort - " Set up an event table + " Set up an event table; note that we intentionally don't clear the group. + " We did that in plugin/paste_insert.vim, so that the user could add their + " own hooks if need be. + " augroup paste_insert - autocmd! " Set up the paste and tell the user autocmd User Start |