diff --git a/syntax_checkers/chef/foodcritic.vim b/syntax_checkers/chef/foodcritic.vim index 83901270..0808137b 100644 --- a/syntax_checkers/chef/foodcritic.vim +++ b/syntax_checkers/chef/foodcritic.vim @@ -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'