I am using vim in a terminal on my mac.
I understand that the command:
echo has('mac')
should return 1
(it does on macvim), because it's running on a mac. But it returns 0
. Can anyone tell me why this is, and if there's a more reliable way of detecting if vim is running on osx?
EDIT: :echo has('macunix')
also returns 0
EDIT2: :echo has('osx')
also returns 0
has('macunix')
echo has('osx')
?uname
.