Skip to content

Commit

Permalink
fix: incorrect logical operator for version check
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoomen committed Sep 9, 2019
1 parent 66e3251 commit b80bfbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/doge.vim
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
let s:save_cpo = &cpoptions
set cpoptions&vim

let s:unsupported_vim = !has('nvim') && (v:version < 700 && !has('patch-7.4.2219'))
let s:unsupported_vim = !has('nvim') && (v:version < 700 || !has('patch-7.4.2219'))
let s:unsupported_nvim = has('nvim') && !has('nvim-0.2.0')
let s:unsupported_msg = '[DoGe] Unsupported version. %s is required.'

Expand Down

0 comments on commit b80bfbb

Please sign in to comment.