HEX
Server: Apache
System: Linux gaz.tera-byte.com 6.12.0-211.26.1.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Sun Jun 21 16:49:12 UTC 2026 x86_64
User: vortec (1076)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/share/vim/vim91/compiler/gm2.vim
" Vim compiler file
" Compiler:	GNU Modula-2 Compiler
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2024 Jan 04

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

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=gm2
CompilerSet errorformat=%-G%f:%l:%c:\ error:\ compilation\ failed,
		       \%f:%l:%c:\ %trror:\ %m,
		       \%f:%l:%c:\ %tarning:\ %m,
		       \%f:%l:%c:\ %tote:\ %m,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save