vim

Fork of vim, an acceptable text editor
git clone git://git.laack.co/vim.git
Log | Files | Refs | README | LICENSE

cm3.vim (513B)


      1 " Vim compiler file
      2 " Compiler:	Critical Mass Modula-3 Compiler
      3 " Maintainer:	Doug Kearns <dougkearns@gmail.com>
      4 " Last Change:	2024 Apr 03
      5 
      6 if exists("current_compiler")
      7   finish
      8 endif
      9 let current_compiler = "cm3"
     10 
     11 let s:cpo_save = &cpo
     12 set cpo&vim
     13 
     14 " TODO: better handling of Quake errors
     15 CompilerSet makeprg=cm3
     16 CompilerSet errorformat=%D---\ building\ in\ %f\ ---,
     17 		       \%W\"%f\"\\,\ line\ %l:\ warning:\ %m,
     18 		       \%E\"%f\"\\,\ line\ %l:\ %m,
     19 		       \%-G%.%#
     20 
     21 let &cpo = s:cpo_save
     22 unlet s:cpo_save