aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/funcs.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-04 09:23:54 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-02-04 09:23:54 +0800
commitf25ab39faaf9e5e161d3c285a4af645383c5498b (patch)
tree5cfd6a2be253c0335b44db240c142eceb805506b /src/nvim/eval/funcs.c
parentf5c4c1d7684d9d39dd469e10322ce6a5df5c3281 (diff)
downloadrneovim-f25ab39faaf9e5e161d3c285a4af645383c5498b.tar.gz
rneovim-f25ab39faaf9e5e161d3c285a4af645383c5498b.tar.bz2
rneovim-f25ab39faaf9e5e161d3c285a4af645383c5498b.zip
vim-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 vim/vim#3855) https://github.com/vim/vim/commit/39536dd557e847e80572044c2be319db5886abe3 Some doc changes have already been applied. Some others are N/A. "moon" was removed in patch 8.2.0427 so I did not add it.
Diffstat (limited to 'src/nvim/eval/funcs.c')
-rw-r--r--src/nvim/eval/funcs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nvim/eval/funcs.c b/src/nvim/eval/funcs.c
index 29619f62e9..04a1f08f04 100644
--- a/src/nvim/eval/funcs.c
+++ b/src/nvim/eval/funcs.c
@@ -4433,6 +4433,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