view runtime/compiler/ghc.vim @ 14214:68166b841ee9 v8.1.0124

patch 8.1.0124: has('vcon') returns true even for non-win32 terminal commit https://github.com/vim/vim/commit/d8b37a53bd29cab78c6997aa75207385213f23e2 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 28 15:50:28 2018 +0200 patch 8.1.0124: has('vcon') returns true even for non-win32 terminal Problem: has('vcon') returns true even for non-win32 terminal. Solution: Check the terminal type. (Nobuhiro Takasaki, closes https://github.com/vim/vim/issues/3106)
author Christian Brabandt <cb@256bit.org>
date Thu, 28 Jun 2018 16:00:07 +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