From d69c878499ab4a07562706e6ba84bcd24660c969 Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Sun, 8 May 2016 09:45:44 +0300 Subject: [PATCH] Checker rst2pseudoxml: log exec. --- plugin/syntastic.vim | 2 +- syntax_checkers/rst/rst2pseudoxml.vim | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index d4cc3bf0..4d7a4494 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.7.0-133' +let g:_SYNTASTIC_VERSION = '3.7.0-134' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/rst/rst2pseudoxml.vim b/syntax_checkers/rst/rst2pseudoxml.vim index 2a7c5cf2..532c75c6 100644 --- a/syntax_checkers/rst/rst2pseudoxml.vim +++ b/syntax_checkers/rst/rst2pseudoxml.vim @@ -23,6 +23,11 @@ let s:rst2pseudoxml = (executable('rst2pseudoxml.py') && !syntastic#util#isRunni let s:save_cpo = &cpo set cpo&vim +function! SyntaxCheckers_rst_rst2pseudoxml_IsAvailable() dict + call self.log('exec =', self.getExec()) + return executable(self.getExec()) +endfunction + function! SyntaxCheckers_rst_rst2pseudoxml_GetLocList() dict let makeprg = self.makeprgBuild({ \ 'args_after': '--report=2 --exit-status=1',