Cross-compatible syntax highlighting for Less
- Works with Atom, Sublime Text, Textmate 2, and Visual Studio Code.
- Aligns with current CSS features without being overbearing or too relaxed
better-less from Atom's Package Manager or the command-line equivalent:
$ apm install better-less
You may need to disable the
language-less core package.
Package Control and install
Better Less. Alternatively, you can clone this project and put it in your Sublime Text packages directory.
Clone the repository to the Bundles directory and add the
$ cd ~/Library/Application\ Support/TextMate/Bundles $ git clone firstname.lastname@example.org:radium-v/Better-Less.git Better-Less.tmbundle
Alternatively, you can clone the repository and symlink to it in your Bundles directory:
$ git clone email@example.com:radium-v/Better-Less.git $ ln -s Better-Less/ ~/Library/Application\ Support/Textmate/Bundles/better-less.tmbundle
Visual Studio Code
Launch VS Code Quick Open (⌘+P), paste the following command, and press enter.
ext install better-less
Recommended Color Schemes
For Visual Studio Code, the Boxy color schemes have been converted and are available here.
For the time being, I'm making changes using PackageDev to convert the
tmLanguage, with some extra messy steps involved when converting it for Atom (using CSON Converter. Any help, bugs, and suggestions are welcome!