view runtime/compiler/ghc.vim @ 18086:9d6832a5426f v8.1.2038

patch 8.1.2038: has('vimscript-4') is always 0 Commit: https://github.com/vim/vim/commit/af9143833865a2d8311e57313023271720442f90 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 15 17:49:10 2019 +0200 patch 8.1.2038: has('vimscript-4') is always 0 Problem: has('vimscript-4') is always 0. Solution: Add "vimscript-4" to the feature table. (Naruhiko Nishino, closes #4941)
author Bram Moolenaar <Bram@vim.org>
date Sun, 15 Sep 2019 18:00:03 +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