The plugins recommended in Brian's comments do a great job:
Update:
I could not get SyntaxFromFileName to match any of my regular expressions for some reason. DetectSyntax, on the other hand, comes with syntax highlighting for the Guardfile built into .
Update2:
DetectSyntax has been renamed ApplySyntax
source share