Posts Tagged ‘vim’

vim syntax highlighting file type

September 8, 2010

When editing with vim the syntax highlighting will occasionally not turn on.  Here’s the command to turn it on.

:set filetype=make

In this example it sets the file type to a Makefile file type. Replace the type as appropriate.

Advertisements