termux-packages/packages/vim/src-evalfunc.c.patch

14 lines
292 B
Diff

diff --git a/src/evalfunc.c b/src/evalfunc.c
index 16d9be3..cec0e4f 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -4922,6 +4922,8 @@ f_has(typval_T *argvars, typval_T *rettv)
0
#endif
},
+ {"android", 1},
+ {"termux", 1},
{"fname_case",
#ifndef CASE_INSENSITIVE_FILENAME
1