sponsor Vim development Vim logo Vim Book Ad

vim-less : Less syntax highlighting

 script karma  Rating 6/3, Downloaded by 216    Comments, bugs, improvements  Vim wiki

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

This is a very rough modification of Tim syntax files to highlight Less syntax, and despite my lack of knowledge in Vim scripting, it works quite well.

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 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: 54.166.29.1

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.
   
SourceForge.net Logo