hellerve / carp-vim

A Vim plugin for Carp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

carp-vim

This repository contains a Vim plugin for Carp. It is largely based on the racket vim plugin for pathogen.

To enable syntax checking via syntastic, add the following line to your .vimrc:

let g:syntastic_carp_checkers = ['carp']

To enable auto-indentation, if it's not already working, add the following line to your .virmc:

au FileType carp set lisp

To enable Paredit, if you've already installed the plugin, add the following line to your .vimrc:

au FileType carp call PareditInitBuffer()

Installation

Pathogen

Probably the most handy way to install the Carp vim plugin is by using pathogen. Installation using pathogen goes like this:

cd ~/.vim/bundle
git clone git@github.com:hellerve/carp-vim.git

Vim-Plug

To install using Vim-Plug, add this line between the plug#begin and plug#end calls in your .vimrc or init.vim in Neovim.

Plug 'hellerve/carp-vim'

Manual

Unix

The "installation" process should look something like this on Unix-based OSs:

git clone git@github.com:hellerve/carp-vim.git
cd carp-vim
cp -r ftdetect ~/.vim
cp -r syntax ~/.vim

About

A Vim plugin for Carp


Languages

Language:Vim Script 100.0%