blob: c98ae302a8671416f69d5b6f1e5408614448647b [file] [log] [blame]
Bram Moolenaarcf497902016-12-01 22:57:02 +01001" Vim compiler file
2" Compiler: GHC Haskell Compiler
3" Maintainer: Daniel Campoverde <alx@sillybytes.net>
4" Latest Revision: 2016-11-29
5
6if exists("current_compiler")
7 finish
8endif
9let current_compiler = "ghc"
10
11let s:cpo_save = &cpo
12set cpo&vim
13
14CompilerSet errorformat=
15 \%-G%.%#:\ build,
16 \%-G%.%#preprocessing\ library\ %.%#,
17 \%-G[%.%#]%.%#,
18 \%E%f:%l:%c:\ %m,
19 \%-G--%.%#
20
21if exists('g:compiler_ghc_ignore_unmatched_lines')
22 CompilerSet errorformat+=%-G%.%#
23endif
24
25let &cpo = s:cpo_save
26unlet s:cpo_save