vim syntax for LESS (dynamic CSS)
Latest commit 6e818d5 Apr 25, 2016 @dhruvasagar dhruvasagar Update README
* Removed notice for required contributors


This vim bundle adds syntax highlighting, indenting and autocompletion for the dynamic stylesheet language LESS.

This bundle is compatible with vim-css-color, vim-css3-syntax and possibly other plugins that place code in after/syntax/css.vim or after/syntax/css/*.vim.

vim-less with vim-css-color and vim-css3-syntax (colorscheme solarized)

Installing and Using

  • Install pathogen into ~/.vim/autoload/ and add the following line to your ~/.vimrc:

    call pathogen#infect()
  • Make a clone of the vim-less repository:

    $ mkdir -p ~/.vim/bundle
    $ cd ~/.vim/bundle
    $ git clone
  • OR use vundle, adding this line to your ~/.vimrc:

    Plugin 'groenewege/vim-less'
  • OR use neobundle, adding this line to your ~/.vimrc:

    NeoBundle 'groenewege/vim-less'
  • OR use git submodules:

    $ git submodule add bundle/vim-less
    $ git submodule init


.less to .css , lessc is required.

nnoremap <Leader>m :w <BAR> !lessc % > %:t:r.css<CR><space>


Inspiration from vim-haml, scss-syntax.vim and vim-less