Files
dotfiles/nvim/.config/nvim/compiler/gm2.vim
T
roodletoof 752cde27f2 remove current_compiler check.
that check is for the standard implementations, not mine
2026-09-29 19:00:35 +02:00

20 lines
448 B
VimL

" Vim compiler file
" Compiler: GNU Modula-2 Compiler
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
let current_compiler = "gm2"
let s:cpo_save = &cpo
set cpo&vim
CompilerSet makeprg=gm2
CompilerSet errorformat=%-G%f:%l:%c:\ error:\ compilation\ failed,
\%f:%l:%c:\ %trror:\ %m,
\%f:%l:%c:\ %tarning:\ %m,
\%f:%l:%c:\ %tote:\ %m,
\%-G%.%#
let &cpo = s:cpo_save
unlet s:cpo_save