[RFC] fix: has('python') error (#17252)

* fix: has('python') error

* fix: functional tests
This commit is contained in:
Shougo
2022-01-31 23:06:46 +09:00
committed by GitHub
parent 2a58e62145
commit f195345c93
3 changed files with 3 additions and 6 deletions

View File

@@ -11004,10 +11004,7 @@ typval_T eval_call_provider(char *provider, char *method, list_T *arguments, boo
bool eval_has_provider(const char *feat)
{
if (!strequal(feat, "clipboard")
&& !strequal(feat, "python")
&& !strequal(feat, "python3")
&& !strequal(feat, "python_compiled")
&& !strequal(feat, "python_dynamic")
&& !strequal(feat, "python3_compiled")
&& !strequal(feat, "python3_dynamic")
&& !strequal(feat, "perl")