1
0
Fork 0
mirror of synced 2024-11-22 08:45:34 -05:00
ultimate-vim/sources_non_forked/vim-less
2014-10-14 14:30:33 +01:00
..
after/syntax Updated plugins. Removed the tabstop merge that 010c2940ce introduced 2014-10-14 14:30:33 +01:00
ftdetect lets try again... 2012-08-16 23:41:25 -04:00
ftplugin Updated all plugins that are non-forked. Added some new plugins. 2013-04-13 14:45:21 -03:00
indent Updated plugins. Fixed some issues related to empty space and peaksea. Using Source Code Pro as default font 2013-12-28 18:23:13 +00:00
syntax Updated plugins. Fixed some issues related to empty space and peaksea. Using Source Code Pro as default font 2013-12-28 18:23:13 +00:00
.gitignore lets try again... 2012-08-16 23:41:25 -04:00
README.md Updated plugins. Fixed some issues related to empty space and peaksea. Using Source Code Pro as default font 2013-12-28 18:23:13 +00:00
screenshot.png lets try again... 2012-08-16 23:41:25 -04:00

VIM-LESS

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 https://github.com/groenewege/vim-less
    
  • OR use vundle, adding this line to your ~/.vimrc:

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

      $ git submodule add https://github.com/groenewege/vim-less.git bundle/vim-less
      $ git submodule init
    

Map

.less to .css , lessc is required.

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

Credits

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

License

MIT : groenewege.mit-license.org