diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-02 21:31:56 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-07-02 21:31:56 +1200 |
commit | 2ff3d9ac47d115240715b54afe830d375ce3a348 (patch) | |
tree | c9829088487154b880fe50975ad0ad084ac3eb9d /plugin | |
parent | Add a BUGS section (diff) | |
download | vim-insert-cancel-2ff3d9ac47d115240715b54afe830d375ce3a348.tar.gz vim-insert-cancel-2ff3d9ac47d115240715b54afe830d375ce3a348.zip |
Correct a version number comparison
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/insert_cancel.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/insert_cancel.vim b/plugin/insert_cancel.vim index 28edbd6..da4e3ad 100644 --- a/plugin/insert_cancel.vim +++ b/plugin/insert_cancel.vim @@ -18,7 +18,7 @@ let g:loaded_insert_cancel = 1 let s:changedtick = 0 " InsertEnter is only available from Vim 7 -if has('autocmd') && v:version > 700 +if has('autocmd') && v:version >= 700 augroup insert_cancel autocmd! autocmd InsertEnter * |