view runtime/compiler/ghc.vim @ 27138:1fc0421a448f v8.2.4098

patch 8.2.4098: typing "interrupt" at debug prompt may keep exception around Commit: https://github.com/vim/vim/commit/069613c9e8645acea3a128c15ebdbf56e2219d44 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 15 15:23:44 2022 +0000 patch 8.2.4098: typing "interrupt" at debug prompt may keep exception around Problem: Typing "interrupt" at debug prompt may keep exception around, causing function calls to fail. Solution: Discard any exception at the toplevel. (closes #9532)
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Jan 2022 16:30:02 +0100
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