Slime syntax highlighting for vim, based off vim-slim.
If you are already using pathogen, you can skip to step 3.
-
Install pathogen (if you haven't already)
mkdir -p ~/.vim/autoload ~/.vim/bundle; \ curl -so ~/.vim/autoload/pathogen.vim \ https://raw.github.com/tpope/vim-pathogen/master/autoload/pathogen.vim
-
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
-
Install slime-vim-syntax
pushd ~/.vim/bundle; \ git clone [email protected]:slime-lang/vim-slime-syntax.git;\ popd
- Install Vundle into
~/.vim/bundle/
.
mkdir -p ~/.vim/bundle; pushd ~/.vim/bundle; \
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
popd
-
Configure your vimrc for Vundle. Here's a bare-minimum vimrc that enables vim-slime-syntax :
set rtp+=~/.vim/bundle/vundle/ call vundle#rc() Bundle 'slime-lang/vim-slime-syntax.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.
- Open vim and run
:BundleInstall
.
To update, open vim and run :BundleInstall!
(notice the bang!)