aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-09 10:55:02 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-09 10:55:02 +1200
commitfb3d969f998fd771f7fc77f7aba3a3e664601c00 (patch)
treea3cb39da4b317abd1024d41ae11c862c63b5b59d
parentf196b5210b6580ba76fb4b06e14d17e7aaf1855e (diff)
downloadvim-colon-operator-fb3d969f998fd771f7fc77f7aba3a3e664601c00.tar.gz
vim-colon-operator-fb3d969f998fd771f7fc77f7aba3a3e664601c00.zip
Remove unneeded variable scoping
-rw-r--r--plugin/colon_operator.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/colon_operator.vim b/plugin/colon_operator.vim
index ea0cc46..5a30115 100644
--- a/plugin/colon_operator.vim
+++ b/plugin/colon_operator.vim
@@ -5,13 +5,13 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('g:loaded_colon_operator') || &compatible
+if exists('loaded_colon_operator') || &compatible
finish
endif
if v:version < 700
finish
endif
-let g:loaded_colon_operator = 1
+let loaded_colon_operator = 1
" Set up mapping
nnoremap <expr> <silent> <unique>