Windows brain damage: executable('foo') doesn't mean 'foo' is executable.
This commit is contained in:
parent
b905f6d08a
commit
ebadf9aff5
@ -19,7 +19,7 @@ if has('reltime')
|
||||
lockvar! g:_SYNTASTIC_START
|
||||
endif
|
||||
|
||||
let g:_SYNTASTIC_VERSION = '3.6.0-62'
|
||||
let g:_SYNTASTIC_VERSION = '3.6.0-63'
|
||||
lockvar g:_SYNTASTIC_VERSION
|
||||
|
||||
" Sanity checks {{{1
|
||||
|
@ -18,7 +18,7 @@ if exists("g:loaded_syntastic_rst_rst2pseudoxml_checker")
|
||||
endif
|
||||
let g:loaded_syntastic_rst_rst2pseudoxml_checker = 1
|
||||
|
||||
let s:rst2pseudoxml = executable('rst2pseudoxml.py') ? 'rst2pseudoxml.py' : 'rst2pseudoxml'
|
||||
let s:rst2pseudoxml = (executable('rst2pseudoxml.py') && !syntastic#util#isRunningWindows()) ? 'rst2pseudoxml.py' : 'rst2pseudoxml'
|
||||
|
||||
let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
Loading…
Reference in New Issue
Block a user