diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-10 09:54:57 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-10 09:54:57 +1200 |
commit | 622e7feb14224dc7bc946cb68980dc683a1d9858 (patch) | |
tree | 58dff29ed25c665f0667ba049a4b5fc499b6eea7 | |
parent | Switch to two-spacing (diff) | |
download | vim-insert-timeout-622e7feb14224dc7bc946cb68980dc683a1d9858.tar.gz vim-insert-timeout-622e7feb14224dc7bc946cb68980dc683a1d9858.zip |
Remove unneeded variable scoping
-rw-r--r-- | plugin/insert_timeout.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/insert_timeout.vim b/plugin/insert_timeout.vim index f848d98..3705df0 100644 --- a/plugin/insert_timeout.vim +++ b/plugin/insert_timeout.vim @@ -6,13 +6,13 @@ " Author: Tom Ryder <tom@sanctum.geek.nz> " License: Same as Vim itself " -if exists('g:loaded_insert_timeout') || &compatible +if exists('loaded_insert_timeout') || &compatible finish endif if !has('autocmd') || v:version < 700 finish endif -let g:loaded_insert_timeout = 1 +let loaded_insert_timeout = 1 " Initialise 'updatetime' caching variable let s:updatetime_save = &updatetime |