Merge pull request #17272 from zeertzjq/vim-8.1.0846

vim-patch:8.1.{0846,0878,0884,2358},8.2.{0305,0352,0687,3797}
This commit is contained in:
zeertzjq
2022-02-04 09:48:48 +08:00
committed by GitHub
12 changed files with 109 additions and 47 deletions

View File

@@ -4419,6 +4419,12 @@ static void f_has(typval_T *argvars, typval_T *rettv, FunPtr fptr)
#if defined(BSD) && !defined(__APPLE__)
"bsd",
#endif
#ifdef __linux__
"linux",
#endif
#ifdef SUN_SYSTEM
"sun",
#endif
#ifdef UNIX
"unix",
#endif