https://github.com/hellerve/carp-vim
A Vim plugin for Carp
https://github.com/hellerve/carp-vim
Last synced: 9 months ago
JSON representation
A Vim plugin for Carp
- Host: GitHub
- URL: https://github.com/hellerve/carp-vim
- Owner: hellerve
- Created: 2017-11-01T14:51:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-26T23:33:59.000Z (over 4 years ago)
- Last Synced: 2025-04-05T22:43:52.734Z (12 months ago)
- Language: Vim script
- Size: 21.5 KB
- Stars: 17
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# carp-vim
This repository contains a Vim plugin for Carp. It is largely
based on [the racket vim plugin for pathogen](https://github.com/wlangstroth/vim-racket).
To enable syntax checking via syntastic, add the following line to your `.vimrc`:
```vim
let g:syntastic_carp_checkers = ['carp']
```
To enable auto-indentation, if it's not already working, add the following line to your `.virmc`:
```vim
au FileType carp set lisp
```
To enable Paredit, if you've already installed the plugin, add the following
line to your `.vimrc`:
```vim
au FileType carp call PareditInitBuffer()
```
## Installation
### Pathogen
Probably the most handy way to install the Carp vim plugin is by using
[pathogen](https://github.com/tpope/vim-pathogen). Installation using
pathogen goes like this:
```bash
cd ~/.vim/bundle
git clone git@github.com:hellerve/carp-vim.git
```
### Vim-Plug
To install using [Vim-Plug](https://github.com/junegunn/vim-plug), add this line between the `plug#begin` and `plug#end`
calls in your `.vimrc` or `init.vim` in Neovim.
```vim
Plug 'hellerve/carp-vim'
```
### Manual
#### Unix
The "installation" process should look something like this on Unix-based
OSs:
```bash
git clone git@github.com:hellerve/carp-vim.git
cd carp-vim
cp -r ftdetect ~/.vim
cp -r syntax ~/.vim
```