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()
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 [email protected]:hellerve/carp-vim.git
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'
The "installation" process should look something like this on Unix-based OSs:
git clone [email protected]:hellerve/carp-vim.git
cd carp-vim
cp -r ftdetect ~/.vim
cp -r syntax ~/.vim