view runtime/compiler/ghc.vim @ 32210:012facc8e25c v9.0.1436

patch 9.0.1436: cannot compare a typed variable with v:none Commit: https://github.com/vim/vim/commit/2ed57ac3675624b9d943d7753f48855e5dbebdbb Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 1 22:05:38 2023 +0100 patch 9.0.1436: cannot compare a typed variable with v:none Problem: Cannot compare a typed variable with v:none. Solution: Allow for "x is v:none" and "x isnot v:none". (issue https://github.com/vim/vim/issues/12194)
author Bram Moolenaar <Bram@vim.org>
date Sat, 01 Apr 2023 23:15: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