From e4be7bc27c8810c9f86f2318ebeed3078a36c63f Mon Sep 17 00:00:00 2001 From: Nicolas Hillegeer Date: Mon, 21 Jul 2014 17:39:41 +0200 Subject: 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. --- src/nvim/eval.c | 4 ++++ 1 file changed, 4 insertions(+) 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", -- cgit