summaryrefslogtreecommitdiff
path: root/mnv/runtime/compiler/mnvdoc.mnv
blob: 081e0dd52cec7a433a98cb45b5d8a3637e4bd0e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
" MNV Compiler File
" Language:             mnvdoc
" Maintainer:           Wu, Zhenyu <wuzhenyu@ustc.edu>
" Latest Revision:      2024-04-13
" Last Change: 2025 Nov 16 by The MNV Project (set errorformat)
"
" If you can not find 'mnvdoc' in the package manager of your distribution e.g
" 'pip', then you may need to build it from its source.

if exists('b:current_compiler')
  finish
endif
let b:current_compiler = 'mnvdoc'

let s:save_cpoptions = &cpoptions
set cpoptions&mnv

CompilerSet makeprg=mnvdoc
" CompilerSet errorformat=%f:%l:%c:\ %m,%f:%l:\ %m
CompilerSet errorformat&

let &cpoptions = s:save_cpoptions
unlet s:save_cpoptions