+16

Syntax Highlighting for .less files

Byron Corrales Rivas 8 year бұрын updated by Dan Rogers 8 year бұрын 2
What I need to do for at least have syntax highlighting for less files, for the moment that sublimetext just load the file as normal css file while  an official support to less syntax is available
You can add LESS support yourself if you want, by creating a Packages/LESS folder, and dropping this file into it:


https://raw.github.com/creationix/LESS.tmbundle/master/Syntaxes/LESS.tmLanguage


+3
I created an updated package for LESS (which also supports comment-toggling now). It should hopefully be listed on Package Control soon, but you can also install it from here: 

https://github.com/danro/LESS-sublime