aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-01 21:30:26 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-01 21:30:26 +1200
commit99792cf683b7a4a78ce758e1361e481d16b1d620 (patch)
tree79058b3219e4f38e12a853b301c37e67211bec33 /plugin
parentShorten interface function name (diff)
downloadvim-regex-escape-99792cf683b7a4a78ce758e1361e481d16b1d620.tar.gz
vim-regex-escape-99792cf683b7a4a78ce758e1361e481d16b1d620.zip
Abbreviate load guard
Diffstat (limited to 'plugin')
-rw-r--r--plugin/regex_escape.vim5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugin/regex_escape.vim b/plugin/regex_escape.vim
index c430bf6..b70d8e1 100644
--- a/plugin/regex_escape.vim
+++ b/plugin/regex_escape.vim
@@ -9,10 +9,7 @@
" Author: Tom Ryder <tom@sanctum.geek.nz>
" License: Same as Vim itself
"
-if exists('loaded_regex_escape') || &compatible
- finish
-endif
-if v:version < 700
+if exists('loaded_regex_escape') || &compatible || v:version < 700
finish
endif
let loaded_regex_escape = 1