aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-13 00:06:41 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-13 00:06:41 +1200
commit56d812f438dd275c3708a8d577fcf2573f887fff (patch)
treec93e272f377fadb2ad2d71064df59f8d85097c21
parentSwitch to two-spacing (diff)
downloadvim-uncap-ex-56d812f438dd275c3708a8d577fcf2573f887fff.tar.gz
vim-uncap-ex-56d812f438dd275c3708a8d577fcf2573f887fff.zip
Remove unneeded variable scoping
-rw-r--r--plugin/uncap_ex.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/uncap_ex.vim b/plugin/uncap_ex.vim
index c1ee828..679a255 100644
--- a/plugin/uncap_ex.vim
+++ b/plugin/uncap_ex.vim
@@ -7,13 +7,13 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('g:loaded_uncap_ex') || &compatible
+if exists('loaded_uncap_ex') || &compatible
finish
endif
if !has('user_commands') || v:version < 600
finish
endif
-let g:loaded_uncap_ex = 1
+let loaded_uncap_ex = 1
" Define commands
command -bang -bar -complete=file -nargs=?