My goal is to highlight <basename>.<extension>.erb files as I would highlight <basename>.<extension> files.
As a first pass, I'm fine with supporting <basename>.<filetype>.erb, which I tried to do with
au BufNewFile,BufRead *.erb setf <afile>:r:e
But this doesn't seem to be working. What should I be doing?