aboutsummaryrefslogtreecommitdiff
path: root/plugin/regex_escape.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-05-12 21:38:10 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-05-12 21:38:10 +1200
commit7414c6e26a04f2901c131cafc9fb9ebe9b543808 (patch)
tree7dcdd52bcb9d2ea887c621fcc8ad40135f0d046e /plugin/regex_escape.vim
parentMerge branch 'hotfix/v0.1.2' (diff)
parentBump VERSION (diff)
downloadvim-regex-escape-0.2.0.tar.gz (sig)
vim-regex-escape-0.2.0.zip
Merge branch 'release/v0.2.0'v0.2.0
* release/v0.2.0: Remove unneeded variable scoping Fix a single-space
Diffstat (limited to 'plugin/regex_escape.vim')
-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)