view runtime/compiler/cm3.vim @ 33214:39bc126cc890 v9.0.1884

patch 9.0.1884: Wrong order of arguments for error messages Commit: https://github.com/vim/vim/commit/1bd2cb11694690a77e4141bce2e34d9dfb882f1c Author: Christ van Willegen <cvwillegen@gmail.com> Date: Fri Sep 8 19:17:09 2023 +0200 patch 9.0.1884: Wrong order of arguments for error messages Problem: Wrong order of arguments for error messages Solution: Reverse order or arguments for e_aptypes_is_null_nr_str closes: #13051 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Christ van Willegen <cvwillegen@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Fri, 08 Sep 2023 19:30:05 +0200
parents 9f41bfdbc6fc
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	Critical Mass Modula-3 Compiler
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2021 Apr 08

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

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

let s:cpo_save = &cpo
set cpo&vim

" TODO: better handling of Quake errors
CompilerSet makeprg=cm3
CompilerSet errorformat=%D---\ building\ in\ %f\ ---,
		       \%W\"%f\"\\,\ line\ %l:\ warning:\ %m,
		       \%E\"%f\"\\,\ line\ %l:\ %m,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save