Highlight CSS syntax to highlight LESS CSS files (*.less)

Willington Vega 6 years ago • updated by Dan Rogers 6 years ago 2
I was unable to use the menu option (View->Syntax->Open all with current extension as...). All syntax available were disabled.

I would like to have LESS CSS files (*.less) opened as CSS files automatically.

Thank you for the best editor I have used in many years.
You can add LESS support yourself if you want, by creating a Packages/LESS folder, and dropping this file into it:

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: