dotfiles/nvim/.config/nvim/compiler/ghci.vim

21 lines
349 B
VimL

" Vim compiler file
" Compiler: Haskell repl - ghci
" Author: Maxime Bourget
if exists("current_compiler")
finish
endif
let current_compiler="ghci"
" inherit from stack settings
" compiler stack
let s:cpo_save = &cpo
set cpo&vim
CompilerSet makeprg=stack\ repl
CompilerSet errorformat+=%f:%.%l%.%c%.%#
let &cpo = s:cpo_save
unlet s:cpo_save