blob: 0ec360855c618c264535af87cd42803efa253905 [file] [log] [blame]
Bram Moolenaar56994d22021-04-17 16:31:09 +02001" Vim compiler file
2" Compiler: Critical Mass Modula-3 Compiler
3" Maintainer: Doug Kearns <dougkearns@gmail.com>
Doug Kearns408281e2024-04-04 22:00:58 +02004" Last Change: 2024 Apr 03
Bram Moolenaar56994d22021-04-17 16:31:09 +02005
6if exists("current_compiler")
7 finish
8endif
9let current_compiler = "cm3"
10
Bram Moolenaar56994d22021-04-17 16:31:09 +020011let s:cpo_save = &cpo
12set cpo&vim
13
14" TODO: better handling of Quake errors
15CompilerSet makeprg=cm3
16CompilerSet errorformat=%D---\ building\ in\ %f\ ---,
17 \%W\"%f\"\\,\ line\ %l:\ warning:\ %m,
18 \%E\"%f\"\\,\ line\ %l:\ %m,
19 \%-G%.%#
20
21let &cpo = s:cpo_save
22unlet s:cpo_save