diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-01 21:32:26 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-01 21:32:26 +1200 |
commit | 9473dfab9dc8a4b049c940a9575d1cb1f3ee6ea1 (patch) | |
tree | 110c529e486cfe02b63dbb267d4060dc92de08ce /plugin | |
parent | Merge branch 'release/v1.0.0' (diff) | |
parent | Bump VERSION (diff) | |
download | vim-regex-escape-master.tar.gz vim-regex-escape-master.zip |
* release/v1.1.0:
Abbreviate load guard
Shorten interface function name
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/regex_escape.vim | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/plugin/regex_escape.vim b/plugin/regex_escape.vim index 5a44e51..b70d8e1 100644 --- a/plugin/regex_escape.vim +++ b/plugin/regex_escape.vim @@ -9,16 +9,13 @@ " 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 " Set up mapping nnoremap <expr> <Plug>(RegexEscape) - \ regex_escape#Map() + \ regex_escape#() xnoremap <expr> <Plug>(RegexEscape) - \ regex_escape#Map() + \ regex_escape#() |