Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Syntax highlighting for VIM
Branch: master

Merge pull request #45 from sorah/highlight_multiple_attrs_and_ruby_c…


Highlight multiple attrs and ruby code after attr
latest commit 0daaa8581f
@minad minad authored


slim syntax highlighting for vim.

Install with pathogen

If you are already using pathogen, you can skip to step 3.

  1. Install pathogen (if you haven't already)

    mkdir -p ~/.vim/autoload ~/.vim/bundle; \
    curl -so ~/.vim/autoload/pathogen.vim \
  2. Edit ~/.vimrc to run pathogen as the first line of the file (if you haven't already)

    call pathogen#infect()
    syntax enable
    filetype plugin indent on
  3. Install slim-vim

    pushd ~/.vim/bundle; \
    git clone git://; \

Install with vbundle

  1. Install Vundle into ~/.vim/bundle/.

    mkdir -p ~/.vim/bundle; pushd ~/.vim/bundle; \
    git clone ~/.vim/bundle/vundle
  2. Configure your vimrc for Vundle. Here's a bare-minimum vimrc that enables vim-slim :

    set rtp+=~/.vim/bundle/vundle/
    call vundle#rc()
    Bundle 'slim-template/vim-slim.git'
    syntax enable
    filetype plugin indent on

If you're adding Vundle to a built-up vimrc, just make sure all these calls are in there and that they occur in this order.

  1. Open vim and run :BundleInstall.

To update, open vim and run :BundleInstall! (notice the bang!)

Something went wrong with that request. Please try again.