view runtime/compiler/sml.vim @ 30517:9e6796c75c07 v9.0.0594

patch 9.0.0594: Makefile error message causes a shell error Commit: https://github.com/vim/vim/commit/2cb4a89797477fc90c9d84b0d45e869369e39c75 Author: dundargoc <gocdundar@gmail.com> Date: Mon Sep 26 16:02:48 2022 +0100 patch 9.0.0594: Makefile error message causes a shell error Problem: Makefile error message causes a shell error. Solution: Put the message in single quotes. (closes https://github.com/vim/vim/issues/11232)
author Bram Moolenaar <Bram@vim.org>
date Mon, 26 Sep 2022 17:15:02 +0200
parents c968191a8557
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	SML/NJ Compiler
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2022 Feb 09

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

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

let s:cpo_save = &cpo
set cpo&vim

CompilerSet makeprg=sml
CompilerSet errorformat=%f:%l.%c-%e.%k\ %trror:\ %m,
		       \%f:%l.%c\ %trror:\ %m,
		       \%trror:\ %m,
		       \%f:%l.%c-%e.%k\ %tarning:\ %m,
		       \%f:%l.%c\ %tarning:\ %m,
		       \%tarning:\ %m,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save