January 28, 2014 - No Comments!

How to set Vim to color code LESS files

Today's awesome dev snippet is a quick hack to set up VIM to colour-code syntax for LESS as it does for CSS.  Add the following line to your .vimrc file (or create on if you don't have it).

au BufNewFile,BufRead *.less set filetype=css


Published by: admin in Snippets

Leave a Reply

%d bloggers like this: