This vim bundle adds syntax highlighting for the dynamic stylesheet language LESS.
This bundle is compatible with vim-css-color.
Includes css indenting file from Nikolai Weibull
-
Install pathogen into
~/.vim/autoload/
and add the following line to your~/.vimrc
:call pathogen#runtime_append_all_bundles()
Be aware that it must be added before any
filetype plugin indent on
lines according to the install page. -
Make a clone of the
vim-less
repository:$ mkdir -p ~/.vim/bundle $ cd ~/.vim/bundle $ git clone https://github.com/groenewege/vim-less
-
OR use git submodules:
$ git submodule add https://github.com/groenewege/vim-less.git bundle/vim-less $ git submodule init
That's it. Pathogen should handle the rest. Opening a file with a .less
extension will load everything.
Inspiration from vim-haml, scss-syntax.vim and vim-less