Skip to content
Vim plugin for Slim-lang in Crystal
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ftdetect
indent
syntax
LICENSE.txt
README.md

README.md

vim-slang for crystal-lang

slang syntax highlighting for vim. Forked from vim-slim.

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 \
     https://raw.github.com/tpope/vim-pathogen/master/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 slang-vim

     pushd ~/.vim/bundle; \
     git clone git://github.com/isaacsloan/vim-slang.git; \
     popd
    

Install with vbundle

  1. Install Vundle into ~/.vim/bundle/.
    mkdir -p ~/.vim/bundle; pushd ~/.vim/bundle; \
    git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
    popd
  1. Configure your vimrc for Vundle. Here's a bare-minimum vimrc that enables vim-slang :

    set rtp+=~/.vim/bundle/vundle/
    call vundle#rc()
    
    Bundle 'isaacsloan/vim-slang.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 :PluginInstall.

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

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.