From 1627350eb8da7b8a80a11b53145c25a61318064b Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 12 May 2019 21:37:44 +1200 Subject: Remove unneeded variable scoping --- plugin/regex_escape.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin') 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 " 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 (RegexEscape) -- cgit v1.2.3