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
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
No comments.