-
Notifications
You must be signed in to change notification settings - Fork 4
Using gaplint in Vim
Murray Whyte edited this page Sep 30, 2020
·
10 revisions
This page contains some information about how to use gaplint
in Vim using Syntastic.
-
Install
gaplint
from the source or usingpip install gaplint
(this requiresgaplint
version 1.0.2 or higher). If this fails, trypip3 install gaplint
. -
Set up Syntastic by following their installation instructions.
-
Do
mkdir ~/.vim/bundle/syntastic/syntax_checkers/gap
-
Download the file gaplint.vim and put it inside the folder
~/.vim/bundle/syntastic/syntax_checkers/gap
-
Add the following lines to your
.vimrc
file
let g:syntastic_gap_gaplint_exec = 'gaplint'
let g:syntastic_gap_checkers = ['gaplint']
-
Add the directory
ftdetect
to your.vim
directory (if it doesn't already exist)mkdir ~/.vim/ftdetect
-
Download the file gap.vim and put it inside the directory
~/.vim/ftdetect
-
Restart Vim and
gaplint
should be working.