view runtime/compiler/stack.vim @ 31996:ca6bc7c04163 v9.0.1330

patch 9.0.1330: handling new value of an option has a long "else if" chain Commit: https://github.com/vim/vim/commit/af93691b53f38784efce0b93fe7644c44a7e382e Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Mon Feb 20 12:16:39 2023 +0000 patch 9.0.1330: handling new value of an option has a long "else if" chain Problem: Handling new value of an option has a long "else if" chain. Solution: Use a function pointer. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/12015)
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Feb 2023 13:30:05 +0100
parents 34fd018452ed
children
line wrap: on
line source

" Vim compiler file
" Compiler:         Haskell Stack
" Maintainer:       Daniel Campoverde <alx@sillybytes.net>
" Latest Revision:  2018-08-27

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

let s:cpo_save = &cpo
set cpo&vim


CompilerSet errorformat=
    \%-G%.%#:\ build\ %.%#,
    \%-G%.%#:\ configure\ %.%#,
    \%-G[%.%#]%.%#,
    \%-G%.%#preprocessing\ %.%#,
    \%-G%.%#configuring\ %.%#,
    \%-G%.%#building\ %.%#,
    \%-G%.%#linking\ %.%#,
    \%-G%.%#installing\ %.%#,
    \%-G%.%#registering\ %.%#,
    \%-G%.%#:\ copy/register%.%#,
    \%-G%.%#process\ exited\ %.%#,
    \%-G%.%#--builddir=%.%#,
    \%-G--%.%#,
    \%-G%.%#\|%.%#,
    \%E%f:%l:%c:\ error:,%+Z\ \ \ \ %m,
    \%E%f:%l:%c:\ error:\ %m,%-Z,
    \%W%f:%l:%c:\ warning:,%+Z\ \ \ \ %m,
    \%W%f:%l:%c:\ warning:\ %m,%-Z,


let &cpo = s:cpo_save
unlet s:cpo_save