vim

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

mcs.vim (983B)


      1 " Vim compiler file
      2 " Compiler:     Mono C# Compiler
      3 " Maintainer:   Jarek Sobiecki <harijari@go2.pl>
      4 " Contributors: Peter Collingbourne and Enno Nagel
      5 " Last Change:  2024 Mar 29
      6 "               2024 Apr 05 by The Vim Project (removed :CompilerSet definition)
      7 
      8 if exists("current_compiler")
      9   finish
     10 endif
     11 let current_compiler = "mcs"
     12 
     13 let s:cpo_save = &cpo
     14 set cpo-=C
     15 
     16 CompilerSet makeprg=mcs
     17 CompilerSet errorformat=
     18          \%D%.%#Project\ \"%f/%[%^/\"]%#\"%.%#,
     19          \%X%.%#Done\ building\ project\ \"%f/%[%^/\"]%#\"%.%#,
     20          \%-G%\\s%.%#,
     21          \%E%f(%l):\ error\ CS%n:%m,
     22          \%W%f(%l):\ warning\ CS%n:%m,
     23          \%E%f(%l\\,%c):\ error\ CS%n:%m,
     24          \%W%f(%l\\,%c):\ warning\ CS%n:%m,
     25          \%E%>syntax\ error\\,%m,%Z%f(%l\\,%c):\ error\ CS%n:%m,
     26          \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
     27          \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
     28          \%DMaking\ %*\\a\ in\ %f,
     29          \%-G%.%#
     30 
     31 let &cpo = s:cpo_save
     32 unlet s:cpo_save