From c2f60ca2e57fb65d2230c6fe58e7aba5ab065b2e Mon Sep 17 00:00:00 2001 From: Miao Jiang Date: Sun, 20 Oct 2013 10:11:05 +0800 Subject: [PATCH] Fixes #63, skip checking patch if the version is greater than 703. --- plugin/auto-pairs.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/auto-pairs.vim b/plugin/auto-pairs.vim index fb5e6cb..274d8ad 100644 --- a/plugin/auto-pairs.vim +++ b/plugin/auto-pairs.vim @@ -421,7 +421,7 @@ function! AutoPairsInit() if g:AutoPairsMapSpace " Try to respect abbreviations on a let do_abbrev = "" - if v:version >= 703 && has("patch489") + if v:version == 703 && has("patch489") || v:version > 703 let do_abbrev = "" endif execute 'inoremap '.do_abbrev.'=AutoPairsSpace()'