sponsor Vim development Vim logo Vim Book Ad

vim-less : Less syntax highlighting

 script karma  Rating 47/18, Downloaded by 4058  Comments, bugs, improvements  Vim wiki

created by
Alessandro Vioni
 
script type
syntax
 
description
Tim Pope vim-haml fork to highlight Less syntax correctly.

For the syntax files to work correctly you need to install the latest CSS runtime files from Jules Wang repository https://github.com/JulesWang/css.vim

Updated version on https://github.com/genoma/vim-less
 
install details
Using Vundle, add this to your .vimrc file:
Bundle 'genoma/vim-less'

Using Pathogen clone this repository in '~/.vim/bundle':
$ cd ~/.vim/bundle $ git clone https://github.com/genoma/vim-less.git
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-less.zip 2.11 2014-11-24 7.4 Alessandro Vioni Changed license from MIT to Vim license.
vim-less.zip 2.0 2014-10-29 7.4 Alessandro Vioni Cleaned up code and commented.

For the syntax files to work correctly you need to install the latest CSS runtime files from Jules Wang repository: https://github.com/JulesWang/css.vim
vim-less.zip 1.55 2014-08-12 7.4 Alessandro Vioni Fixed Less function highlighting
vim-less.zip 1.50 2014-07-07 7.4 Alessandro Vioni Cleaned code and fixes
vim-less.zip 1.42 2014-07-07 7.4 Alessandro Vioni More fixes:
  - @media queries are correctly highlighted
  - added lessTagName and lessDeprecated
vim-less.zip 1.4 2014-07-07 7.4 Alessandro Vioni Version 1.4 remove a couple of highlight errors with a temporary fix (removed cssDeprecated).

Report errors or contribute https://github.com/genoma/vim-less
vim-less.zip 1.35 2014-07-07 7.4 Alessandro Vioni Bunch of bugfixes, now ampersand and classes, id's should be highlighted coorectly.
vim-less.zip 1.33 2014-07-07 7.4 Alessandro Vioni Updated README.md
vim-less.zip 1.32 2014-07-03 7.4 Alessandro Vioni More fixes
vim-less.zip 1.31 2014-07-03 7.4 Alessandro Vioni Small highlighting fixes
vim-less.zip 1.2 2014-07-02 7.0 Alessandro Vioni Small fixes
vim-less.zip 1.1 2014-03-18 7.0 Alessandro Vioni Cleaned code and fixed a bunch of glaring errors.
vim-less.zip 1.0 2014-03-16 7.3 Alessandro Vioni Initial upload
ip used for rating: 44.220.184.63

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github