This question already has an answer here:
I have a number of files with a syntax almost
identical to C, though the files have suffixes
I would like to have the same syntax highlighting
that I have for standard C files ending with the
For any one file I know I can execute:
but it is cumbersome to have to execute that command every time.
Is there something I can add to my .vimrc file so that some files with specific suffixes can have "C" syntax highlighting?