Reputation: 113
I have an .epp file that's a shell script with Ruby embedded inside. I'm guessing the "shebang" line (#!
) activates the sh check.
Is it possible to ignore/disable checks for .epp files?
Upvotes: 1
Views: 272
Reputation: 877
You can use autocomand in your vimrc
augroup epp_file_type
autocmd!
autocmd BufEnter *.epp set ft=
augroup END
It will unset file type when buffer is opend by the first time.
Upvotes: 2