Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

vim syntax for LESS (dynamic CSS)

NotificationsYou must be signed in to change notification settings

groenewege/vim-less

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

This bundle is compatible withvim-css-color,vim-css3-syntax and possibly other plugins that place codeinafter/syntax/css.vim orafter/syntax/css/*.vim.

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

Installing and Using

  • Installpathogen into~/.vim/autoload/ and add thefollowing line to your~/.vimrc:

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

      $ mkdir -p ~/.vim/bundle  $ cd ~/.vim/bundle  $ git clone https://github.com/groenewege/vim-less
  • OR usevundle, adding this line to your~/.vimrc:

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

      NeoBundle '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 fromvim-haml,scss-syntax.vim andvim-less

License

MIT :groenewege.mit-license.org

About

vim syntax for LESS (dynamic CSS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors16


[8]ページ先頭

©2009-2025 Movatter.jp