re-integrate with the latest version of syntastic

This commit is contained in:
Zahary Karadjov 2013-05-06 00:51:03 +03:00
commit 3d9f5fac08

View file

@ -201,10 +201,17 @@ fun! FindReferences_nimrod()
endf
" Syntastic syntax checking
fun! SyntaxCheckers_nimrod_GetLocList()
fun! SyntaxCheckers_nimrod_nimrod_GetLocList()
let makeprg = 'nimrod check ' . s:CurrentNimrodFile()
let errorformat = &errorformat
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
endf
function! SyntaxCheckers_nimrod_nimrod_IsAvailable()
return executable("nimrod")
endfunction
call g:SyntasticRegistry.CreateAndRegisterChecker({
\ 'filetype': 'nimrod',
\ 'name': 'nimrod'})