I have a number of files with a syntax almost
identical to C, though the files have suffixes
such as .t
, .sc
I would like to have the same syntax highlighting
that I have for standard C files ending with the
suffix .c
.
For any one file I know I can execute:
:set filetype=c
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?