1 Star 1 Fork 0

AI/vimrc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
autoload
my_plugins
sources_forked
sources_non_forked
ack.vim
ale
auto-pairs
bufexplorer
ctrlp.vim
gist-vim
goyo.vim
gruvbox
lightline-ale
lightline.vim
mayansmoke
mru.vim
nerdtree
nginx.vim
open_file_under_cursor.vim/plugin
rust.vim
tabular
tlib
typescript-vim
vim-abolish
vim-addon-mw-utils
vim-bundle-mako
vim-coffee-script
vim-colors-solarized
vim-commentary
vim-expand-region
vim-flake8
vim-fugitive
vim-gist
vim-gitgutter
vim-indent-object
vim-javascript
vim-lastplace
vim-less
after/syntax
ftdetect
ftplugin
indent
syntax
.gitignore
README.md
screenshot.png
vim-markdown
vim-multiple-cursors
vim-pug
vim-pyte
vim-python-pep8-indent
vim-repeat
vim-ruby
vim-snipmate
vim-snippets
vim-surround
vim-yankstack
vim-zenroom2
temp_dirs
vimrcs
.gitignore
LICENSE
README.md
install_awesome_parameterized.sh
install_awesome_vimrc.sh
install_basic_vimrc.sh
update_plugins.py
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

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:

      Plugin 'groenewege/vim-less'
    
  • OR use neobundle, 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 from vim-haml, scss-syntax.vim and vim-less

License

MIT : groenewege.mit-license.org

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/awesomeproject/vimrc.git
git@gitee.com:awesomeproject/vimrc.git
awesomeproject
vimrc
vimrc
master

搜索帮助