Skip to content

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.

  1. Install gaplint from the source or using pip install gaplint (this requires gaplint version 1.0.2 or higher). If this fails, try pip3 install gaplint.

  2. Set up Syntastic by following their installation instructions.

  3. Do mkdir ~/.vim/bundle/syntastic/syntax_checkers/gap

  4. Download the file gaplint.vim and put it inside the folder ~/.vim/bundle/syntastic/syntax_checkers/gap

  5. Add the following lines to your .vimrc file

let g:syntastic_gap_gaplint_exec = 'gaplint'
let g:syntastic_gap_checkers = ['gaplint']
  1. Add the directory ftdetect to your .vim directory (if it doesn't already exist) mkdir ~/.vim/ftdetect

  2. Download the file gap.vim and put it inside the directory ~/.vim/ftdetect

  3. Restart Vim and gaplint should be working.

Clone this wiki locally