ghc.vim 541 B

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