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