summaryrefslogtreecommitdiff
path: root/mnv/runtime/compiler/go.mnv
blob: 2f0fad7fcba34d393002fc13e347b976e25c3756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
" MNV compiler file
" Compiler:	Go
" Maintainer:	David Barnett (https://github.com/google/mnv-ft-go)
" Last Change:	2014 Aug 16
"             	2024 Apr 05 by The MNV Project (removed :CompilerSet definition)

if exists('current_compiler')
  finish
endif
let current_compiler = 'go'

let s:save_cpo = &cpo
set cpo-=C

CompilerSet makeprg=go\ build
CompilerSet errorformat=
    \%-G#\ %.%#,
    \%A%f:%l:%c:\ %m,
    \%A%f:%l:\ %m,
    \%C%*\\s%m,
    \%-G%.%#

let &cpo = s:save_cpo
unlet s:save_cpo

" mnv: sw=2 sts=2 et