Add filetype and subchecker args to foodcritic makeprg

This commit is contained in:
Ireton, Doug 2013-10-17 06:22:44 -07:00
parent 304d3649c5
commit e4fcb80ee4

View File

@ -22,7 +22,8 @@ endfunction
function! SyntaxCheckers_chef_foodcritic_GetLocList()
let makeprg = syntastic#makeprg#build({
\ 'exe': 'foodcritic',
\ 'args': '' })
\ 'filetype': 'chef',
\ 'subchecker': 'foodcritic' })
" FC023: Prefer conditional attributes: ./recipes/config.rb:49
let errorformat = 'FC%n: %m: %f:%l'