Skip to content

Commit

Permalink
removed unmae checks and win32 checks
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxguo committed Dec 24, 2023
1 parent e6a48de commit 2e1c93c
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions autoload/go/util.vim
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,7 @@ endfunction

" IsCygwin returns 1 if current OS is Cygwin/MSYS2/GitBash, 0 otherwise
function! go#util#IsCygwin()
return !has('win32') &&
\ has('win32unix') &&
\ (
\ system('uname') =~ 'CYGWIN' ||
\ system('uname') =~ 'MINGW' ||
\ system('uname') =~ 'MSYS'
\ )
return has('win32unix')
endfunction

" Checks if using:
Expand Down

0 comments on commit 2e1c93c

Please sign in to comment.