aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/regex_escape.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/regex_escape.vim b/plugin/regex_escape.vim
index fb11932..5a44e51 100644
--- a/plugin/regex_escape.vim
+++ b/plugin/regex_escape.vim
@@ -9,13 +9,13 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('g:loaded_regex_escape') || &compatible
+if exists('loaded_regex_escape') || &compatible
finish
endif
if v:version < 700
finish
endif
-let g:loaded_regex_escape = 1
+let loaded_regex_escape = 1
" Set up mapping
nnoremap <expr> <Plug>(RegexEscape)