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
|
lockvar! g:_SYNTASTIC_START
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let g:_SYNTASTIC_VERSION = '3.6.0-62'
|
let g:_SYNTASTIC_VERSION = '3.6.0-63'
|
||||||
lockvar g:_SYNTASTIC_VERSION
|
lockvar g:_SYNTASTIC_VERSION
|
||||||
|
|
||||||
" Sanity checks {{{1
|
" Sanity checks {{{1
|
||||||
|
@ -18,7 +18,7 @@ if exists("g:loaded_syntastic_rst_rst2pseudoxml_checker")
|
|||||||
endif
|
endif
|
||||||
let g:loaded_syntastic_rst_rst2pseudoxml_checker = 1
|
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
|
let s:save_cpo = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
Loading…
x
Reference in New Issue
Block a user