Updated vimrc

This commit is contained in:
amix
2015-07-13 11:22:46 +01:00
parent 9a2843c2a5
commit d7752b59ae
301 changed files with 4699 additions and 7969 deletions

View File

@@ -27,7 +27,12 @@ function! SyntaxCheckers_python_pylama_GetHighlightRegex(item)
endfunction
function! SyntaxCheckers_python_pylama_GetLocList() dict
let makeprg = self.makeprgBuild({ 'args_after': '-f pep8' })
if !exists('s:pylama_new')
let s:pylama_new = syntastic#util#versionIsAtLeast(self.getVersion(), [4])
endif
let makeprg = self.makeprgBuild({
\ 'args_after': '-f pep8' . (s:pylama_new ? ' --force' : '') })
" TODO: "WARNING:pylama:..." messages are probably a logging bug
let errorformat =