CheckHealth: more checks

This commit is contained in:
Justin M. Keyes
2016-10-25 15:28:34 +02:00
parent 714ec09c6d
commit c853fd6fab
4 changed files with 46 additions and 14 deletions

View File

@@ -10669,7 +10669,7 @@ static void f_has(typval_T *argvars, typval_T *rettv, FunPtr fptr)
} else {
n = has_vim_patch(atoi(name + 5));
}
} else if (STRNICMP(name, "nvim", 4) == 0 && name[4] == '-') {
} else if (STRNICMP(name, "nvim-", 5) == 0) {
// Expect "nvim-x.y.z"
n = has_nvim_version(name + 5);
} else if (STRICMP(name, "vim_starting") == 0) {