aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-10 09:54:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-10 09:54:57 +1200
commit622e7feb14224dc7bc946cb68980dc683a1d9858 (patch)
tree58dff29ed25c665f0667ba049a4b5fc499b6eea7
parentSwitch to two-spacing (diff)
downloadvim-insert-timeout-622e7feb14224dc7bc946cb68980dc683a1d9858.tar.gz
vim-insert-timeout-622e7feb14224dc7bc946cb68980dc683a1d9858.zip
Remove unneeded variable scoping
-rw-r--r--plugin/insert_timeout.vim4
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