From 2d4071038a7c1164956883b0788453df00047101 Mon Sep 17 00:00:00 2001 From: smiechowy Date: Mon, 14 Nov 2016 11:52:47 +0100 Subject: [PATCH] Fix checking for patch849 --- 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 200b2dd..18bea74 100644 --- a/plugin/auto-pairs.vim +++ b/plugin/auto-pairs.vim @@ -77,7 +77,7 @@ endif " 7.4.849 support U to avoid breaking '.' " Issue talk: https://github.com/jiangmiao/auto-pairs/issues/3 " Vim note: https://github.com/vim/vim/releases/tag/v7.4.849 -if v:version >= 704 && has("patch849") +if v:version > 704 || v:version == 704 && has("patch849") let s:Go = "\U" else let s:Go = ""