2013-04-15 17:15:49 -04:00
|
|
|
"============================================================================
|
|
|
|
"File: py3kwarn.vim
|
|
|
|
"Description: Syntax checking plugin for syntastic.vim
|
|
|
|
"Authors: Liam Curry <liam@curry.name>
|
|
|
|
"
|
|
|
|
"============================================================================
|
|
|
|
if exists("g:loaded_syntastic_python_py3kwarn_checker")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let g:loaded_syntastic_python_py3kwarn_checker=1
|
|
|
|
|
2013-10-28 07:53:33 -04:00
|
|
|
function! SyntaxCheckers_python_py3kwarn_GetLocList() dict
|
2013-11-01 05:51:47 -04:00
|
|
|
let makeprg = self.makeprgBuild({})
|
2013-05-31 14:05:45 -04:00
|
|
|
|
2013-04-15 17:15:49 -04:00
|
|
|
let errorformat = '%W%f:%l:%c: %m'
|
2013-05-31 14:05:45 -04:00
|
|
|
|
|
|
|
return SyntasticMake({
|
|
|
|
\ 'makeprg': makeprg,
|
|
|
|
\ 'errorformat': errorformat })
|
2013-04-15 17:15:49 -04:00
|
|
|
endfunction
|
|
|
|
|
|
|
|
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
|
|
|
\ 'filetype': 'python',
|
|
|
|
\ 'name': 'py3kwarn'})
|