This returns unix despite being after win32unix. Just shortening the command to if has('win32unix') | echo "win32unix" | endif returns nothing.
On my vim installed through cygwin's setup.exe running the first command as above the result is 'win32unix'. You usually get 'unix' too if you only test for that.
Have you checked whether
win32unix
is set?After installing through your cygport, I tried executing the command in command mode
This returns
unix
despite being afterwin32unix
. Just shortening the command toif has('win32unix') | echo "win32unix" | endif
returns nothing. On my vim installed through cygwin's setup.exe running the first command as above the result is 'win32unix'. You usually get 'unix' too if you only test for that.How can you explain this?