diff options
-rw-r--r-- | plugin/insert_cancel.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/insert_cancel.vim b/plugin/insert_cancel.vim index 18bd0ac..8ad47e5 100644 --- a/plugin/insert_cancel.vim +++ b/plugin/insert_cancel.vim @@ -8,13 +8,13 @@ " Author: Tom Ryder <tom@sanctum.geek.nz> " License: Same as Vim itself " -if exists('g:loaded_insert_cancel') || &compatible +if exists('loaded_insert_cancel') || &compatible finish endif if v:version < 600 finish endif -let g:loaded_insert_cancel = 1 +let loaded_insert_cancel = 1 " On leaving insert mode, whether normally or via <Plug>(InsertCancel), check " if changenr() exceeds the last time we cached it, and flag that a change has |