nim.vim/compiler/nimrod.vim
2011-08-28 01:54:33 +03:00

23 lines
388 B
VimL

if exists("current_compiler")
finish
endif
let current_compiler = "nimrod"
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo
set cpo-=C
CompilerSet makeprg=nimrod\ c\ $*
CompilerSet errorformat=
\%f(%l\\,\ %c)\ %m
let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nowrap sw=2 sts=2 ts=8: