diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index c57fa686..893972b5 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.4.0-44' +let g:syntastic_version = '3.4.0-45' lockvar g:syntastic_version " Sanity checks {{{1 diff --git a/syntax_checkers/python/flake8.vim b/syntax_checkers/python/flake8.vim index 61d55cc9..ebc484f2 100644 --- a/syntax_checkers/python/flake8.vim +++ b/syntax_checkers/python/flake8.vim @@ -19,7 +19,8 @@ function! SyntaxCheckers_python_flake8_GetHighlightRegex(item) endfunction function! SyntaxCheckers_python_flake8_GetLocList() dict - let makeprg = self.makeprgBuild({}) + let makeprg = self.makeprgBuild({ + \ 'exe_before': (syntastic#util#isRunningWindows() ? '' : 'TERM=dumb') }) let errorformat = \ '%E%f:%l: could not compile,%-Z%p^,' . diff --git a/syntax_checkers/python/frosted.vim b/syntax_checkers/python/frosted.vim index 5c47de5c..e96a8cc1 100644 --- a/syntax_checkers/python/frosted.vim +++ b/syntax_checkers/python/frosted.vim @@ -19,7 +19,9 @@ let s:save_cpo = &cpo set cpo&vim function! SyntaxCheckers_python_frosted_GetLocList() dict - let makeprg = self.makeprgBuild({ 'args_after': '-vb' }) + let makeprg = self.makeprgBuild({ + \ 'exe_before': (syntastic#util#isRunningWindows() ? '' : 'TERM=dumb'), + \ 'args_after': '-vb' }) let errorformat = \ '%f:%l:%c:%m,' . diff --git a/syntax_checkers/python/pep257.vim b/syntax_checkers/python/pep257.vim index 7bd2d91d..10b47e09 100644 --- a/syntax_checkers/python/pep257.vim +++ b/syntax_checkers/python/pep257.vim @@ -14,7 +14,8 @@ let s:save_cpo = &cpo set cpo&vim function! SyntaxCheckers_python_pep257_GetLocList() dict - let makeprg = self.makeprgBuild({}) + let makeprg = self.makeprgBuild({ + \ 'exe_before': (syntastic#util#isRunningWindows() ? '' : 'TERM=dumb') }) let errorformat = \ '%E%f:%l:%c%\%.%\%.%\d%\+:%\d%\+: %m,' . diff --git a/syntax_checkers/python/pep8.vim b/syntax_checkers/python/pep8.vim index 310746b3..64c9e640 100644 --- a/syntax_checkers/python/pep8.vim +++ b/syntax_checkers/python/pep8.vim @@ -21,7 +21,8 @@ let s:save_cpo = &cpo set cpo&vim function! SyntaxCheckers_python_pep8_GetLocList() dict - let makeprg = self.makeprgBuild({}) + let makeprg = self.makeprgBuild({ + \ 'exe_before': (syntastic#util#isRunningWindows() ? '' : 'TERM=dumb') }) let errorformat = '%f:%l:%c: %m' diff --git a/syntax_checkers/python/py3kwarn.vim b/syntax_checkers/python/py3kwarn.vim index 5ceb51ab..1a4465e0 100644 --- a/syntax_checkers/python/py3kwarn.vim +++ b/syntax_checkers/python/py3kwarn.vim @@ -14,7 +14,8 @@ let s:save_cpo = &cpo set cpo&vim function! SyntaxCheckers_python_py3kwarn_GetLocList() dict - let makeprg = self.makeprgBuild({}) + let makeprg = self.makeprgBuild({ + \ 'exe_before': (syntastic#util#isRunningWindows() ? '' : 'TERM=dumb') }) let errorformat = '%W%f:%l:%c: %m' diff --git a/syntax_checkers/python/pyflakes.vim b/syntax_checkers/python/pyflakes.vim index 5903b2ef..869aa0ab 100644 --- a/syntax_checkers/python/pyflakes.vim +++ b/syntax_checkers/python/pyflakes.vim @@ -40,7 +40,8 @@ function! SyntaxCheckers_python_pyflakes_GetHighlightRegex(i) endfunction function! SyntaxCheckers_python_pyflakes_GetLocList() dict - let makeprg = self.makeprgBuild({}) + let makeprg = self.makeprgBuild({ + \ 'exe_before': (syntastic#util#isRunningWindows() ? '' : 'TERM=dumb') }) let errorformat = \ '%E%f:%l: could not compile,'. diff --git a/syntax_checkers/python/pylama.vim b/syntax_checkers/python/pylama.vim index 25219d77..b8611814 100644 --- a/syntax_checkers/python/pylama.vim +++ b/syntax_checkers/python/pylama.vim @@ -23,7 +23,9 @@ function! SyntaxCheckers_python_pylama_GetHighlightRegex(item) endfunction function! SyntaxCheckers_python_pylama_GetLocList() dict - let makeprg = self.makeprgBuild({ 'args_after': '-f pep8' }) + let makeprg = self.makeprgBuild({ + \ 'exe_before': (syntastic#util#isRunningWindows() ? '' : 'TERM=dumb'), + \ 'args_after': '-f pep8' }) " TODO: "WARNING:pylama:..." messages are probably a logging bug let errorformat = diff --git a/syntax_checkers/python/pylint.vim b/syntax_checkers/python/pylint.vim index 4c4b88e0..131ca482 100644 --- a/syntax_checkers/python/pylint.vim +++ b/syntax_checkers/python/pylint.vim @@ -23,6 +23,7 @@ endfunction function! SyntaxCheckers_python_pylint_GetLocList() dict let makeprg = self.makeprgBuild({ + \ 'exe_before': (syntastic#util#isRunningWindows() ? '' : 'TERM=dumb'), \ 'args_after': (s:pylint_new ? '-f text --msg-template="{path}:{line}:{column}:{C}: [{symbol}] {msg}" -r n' : '-f parseable -r n -i y') }) let errorformat = diff --git a/syntax_checkers/python/python.vim b/syntax_checkers/python/python.vim index eced4d30..e962065d 100644 --- a/syntax_checkers/python/python.vim +++ b/syntax_checkers/python/python.vim @@ -26,7 +26,9 @@ function! SyntaxCheckers_python_python_IsAvailable() dict endfunction function! SyntaxCheckers_python_python_GetLocList() dict - let makeprg = self.makeprgBuild({ 'exe': [self.getExec(), s:compiler] }) + let makeprg = self.makeprgBuild({ + \ 'exe_before': (syntastic#util#isRunningWindows() ? '' : 'TERM=dumb'), + \ 'exe': [self.getExec(), s:compiler] }) let errorformat = '%E%f:%l:%c: %m'