Fix checking for patch849

This commit is contained in:
smiechowy 2016-11-14 11:52:47 +01:00
parent 1b3a1efb07
commit 2d4071038a

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 = ""