Cleanup: make sanity check message less confusing.
This commit is contained in:
parent
167a0625a6
commit
6ffba7395c
@ -19,7 +19,7 @@ if has('reltime')
|
|||||||
lockvar! g:_SYNTASTIC_START
|
lockvar! g:_SYNTASTIC_START
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let g:_SYNTASTIC_VERSION = '3.7.0-238'
|
let g:_SYNTASTIC_VERSION = '3.7.0-239'
|
||||||
lockvar g:_SYNTASTIC_VERSION
|
lockvar g:_SYNTASTIC_VERSION
|
||||||
|
|
||||||
" Sanity checks {{{1
|
" Sanity checks {{{1
|
||||||
@ -57,7 +57,7 @@ elseif executable('uname')
|
|||||||
try
|
try
|
||||||
let g:_SYNTASTIC_UNAME = split(syntastic#util#system('uname'), "\n")[0]
|
let g:_SYNTASTIC_UNAME = split(syntastic#util#system('uname'), "\n")[0]
|
||||||
catch /\m^Vim\%((\a\+)\)\=:E484/
|
catch /\m^Vim\%((\a\+)\)\=:E484/
|
||||||
call syntastic#log#error("your shell " . syntastic#util#var('shell') . " can't handle traditional UNIX syntax for redirections")
|
call syntastic#log#error("can't run external programs (misconfigured shell options?)")
|
||||||
finish
|
finish
|
||||||
catch /\m^Vim\%((\a\+)\)\=:E684/
|
catch /\m^Vim\%((\a\+)\)\=:E684/
|
||||||
let g:_SYNTASTIC_UNAME = 'Unknown'
|
let g:_SYNTASTIC_UNAME = 'Unknown'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user