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')– Christian Brabandt May 27 '19 at 11:18echo has('osx')? – Ashok Arora May 27 '19 at 12:08uname. – Rich May 27 '19 at 18:53