dougireton/vim-chef — pull request #3 by korney4eg (2014-09-11 12:02:08+00:00)
Title: make detect better understand filetype

Hi,
Please check my fix.
Main differences with previous are:
1) Use not hardcoded chef-repo folder, because we use chef instead chef-repo folder
2) newer version will work even if you do following
cd chef-repo/cookbooks/mysql/
vim recipes/default.rb
because it checks full path to file ( expand('%:p'))

Thank you,
Alexey