From bc85a0c329319cdc56671032b98c55bbbdac2cb9 Mon Sep 17 00:00:00 2001 From: Paul Harris Date: Wed, 22 Jun 2022 12:42:53 +0800 Subject: [PATCH] Small fix to detect msys environment --- compiler/BTW/cygwin.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/BTW/cygwin.vim b/compiler/BTW/cygwin.vim index b12e2e8..1edfba5 100644 --- a/compiler/BTW/cygwin.vim +++ b/compiler/BTW/cygwin.vim @@ -55,7 +55,7 @@ set cpo&vim " Avoid global reinclusion }}}1 "------------------------------------------------------------------------ " Check we are using cygwin {{{1 -if !has('win32') +if !(has('win32') || has('win32unix')) \ || !( ($TERM=='cygwin') || ($OSTYPE=='cygwin') || executable('cygpath')) echoerr "Cygwin not detected..." finish