aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Hillegeer <nicolas@hillegeer.com>2014-07-21 17:39:41 +0200
committerJustin M. Keyes <justinkz@gmail.com>2014-07-30 18:26:32 -0400
commite4be7bc27c8810c9f86f2318ebeed3078a36c63f (patch)
tree8f7d24fd783bf9716622a70082b524043ca8c221
parentc3b9f863ea09eaf1bf56c0112db1c3e2baca1457 (diff)
downloadrneovim-e4be7bc27c8810c9f86f2318ebeed3078a36c63f.tar.gz
rneovim-e4be7bc27c8810c9f86f2318ebeed3078a36c63f.tar.bz2
rneovim-e4be7bc27c8810c9f86f2318ebeed3078a36c63f.zip
eval: re-add has('mac') and has('macunix') #976
They were removed but they can be handy to separate some things to do at startup in a .vimrc for example.
-rw-r--r--src/nvim/eval.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index 4537f91825..9ccf00a3fe 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -9703,6 +9703,10 @@ static void f_has(typval_T *argvars, typval_T *rettv)
"lispindent",
"listcmds",
"localmap",
+#ifdef __APPLE__
+ "mac",
+ "macunix",
+#endif
"menu",
"mksession",
"modify_fname",