diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-12 21:37:44 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-12 21:37:44 +1200 |
commit | 1627350eb8da7b8a80a11b53145c25a61318064b (patch) | |
tree | 7211bdd136f689db3aecb92defb7f40e575092e2 /plugin/regex_escape.vim | |
parent | Fix a single-space (diff) | |
download | vim-regex-escape-1627350eb8da7b8a80a11b53145c25a61318064b.tar.gz vim-regex-escape-1627350eb8da7b8a80a11b53145c25a61318064b.zip |
Remove unneeded variable scoping
Diffstat (limited to 'plugin/regex_escape.vim')
-rw-r--r-- | plugin/regex_escape.vim | 4 |
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) |