Merge pull request #161 from smiechowy/master

Fix checking for patch849
This commit is contained in:
Miao Jiang 2016-11-20 02:40:26 -06:00 committed by GitHub
commit b0c9fce101

View File

@ -77,7 +77,7 @@ endif
" 7.4.849 support <C-G>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 = "\<C-G>U"
else
let s:Go = ""