mirror of
https://github.com/vim/vim.git
synced 2025-10-14 07:04:10 -04:00
patch 8.1.0846: not easy to recognize the system Vim runs on
Problem: Not easy to recognize the system Vim runs on. Solution: Add more items to the features list. (Ozaki Kiichi, closes #3855)
This commit is contained in:
@@ -6118,6 +6118,15 @@ f_has(typval_T *argvars, typval_T *rettv)
|
||||
#ifdef __BEOS__
|
||||
"beos",
|
||||
#endif
|
||||
#if defined(BSD) && !defined(MACOS_X)
|
||||
"bsd",
|
||||
#endif
|
||||
#ifdef hpux
|
||||
"hpux",
|
||||
#endif
|
||||
#ifdef __linux__
|
||||
"linux",
|
||||
#endif
|
||||
#ifdef MACOS_X
|
||||
"mac", /* Mac OS X (and, once, Mac OS Classic) */
|
||||
"osx", /* Mac OS X */
|
||||
@@ -6129,6 +6138,11 @@ f_has(typval_T *argvars, typval_T *rettv)
|
||||
#ifdef __QNX__
|
||||
"qnx",
|
||||
#endif
|
||||
#ifdef SUN_SYSTEM
|
||||
"sun",
|
||||
#else
|
||||
"moon",
|
||||
#endif
|
||||
#ifdef UNIX
|
||||
"unix",
|
||||
#endif
|
||||
@@ -6158,7 +6172,7 @@ f_has(typval_T *argvars, typval_T *rettv)
|
||||
#endif
|
||||
"autocmd",
|
||||
#ifdef FEAT_AUTOCHDIR
|
||||
"autochdir",
|
||||
"autochdir",
|
||||
#endif
|
||||
#ifdef FEAT_AUTOSERVERNAME
|
||||
"autoservername",
|
||||
|
Reference in New Issue
Block a user