view runtime/compiler/ghc.vim @ 14790:3ca7aba1116e v8.1.0407

patch 8.1.0407: quickfix code mixes using the stack and a list pointer commit https://github.com/vim/vim/commit/fe15b7dfa628d4edd683dae9528194c0e5510128 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 18 22:50:06 2018 +0200 patch 8.1.0407: quickfix code mixes using the stack and a list pointer Problem: Quickfix code mixes using the stack and a list pointer. Solution: Use a list pointer in more places. (Yegappan Lakshmanan, closes #3443)
author Christian Brabandt <cb@256bit.org>
date Tue, 18 Sep 2018 23:00:06 +0200
parents 923e383fa291
children
line wrap: on
line source

" Vim compiler file
" Compiler:         GHC Haskell Compiler
" Maintainer:       Daniel Campoverde <alx@sillybytes.net>
" Latest Revision:  2016-11-29

if exists("current_compiler")
  finish
endif
let current_compiler = "ghc"

let s:cpo_save = &cpo
set cpo&vim

CompilerSet errorformat=
    \%-G%.%#:\ build,
    \%-G%.%#preprocessing\ library\ %.%#,
    \%-G[%.%#]%.%#,
    \%E%f:%l:%c:\ %m,
    \%-G--%.%#

if exists('g:compiler_ghc_ignore_unmatched_lines')
  CompilerSet errorformat+=%-G%.%#
endif

let &cpo = s:cpo_save
unlet s:cpo_save