2021-05-02 07:19:25 -07:00
|
|
|
" Vim compiler file
|
|
|
|
" Compiler: SML/NJ Compiler
|
|
|
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
2024-04-04 14:49:21 -07:00
|
|
|
" Last Change: 2024 Apr 03
|
2021-05-02 07:19:25 -07:00
|
|
|
|
|
|
|
if exists("current_compiler")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let current_compiler = "sml"
|
|
|
|
|
|
|
|
let s:cpo_save = &cpo
|
|
|
|
set cpo&vim
|
|
|
|
|
|
|
|
CompilerSet makeprg=sml
|
2022-03-09 00:40:16 -07:00
|
|
|
CompilerSet errorformat=%f:%l.%c-%e.%k\ %trror:\ %m,
|
2021-05-02 07:19:25 -07:00
|
|
|
\%f:%l.%c\ %trror:\ %m,
|
2022-03-09 00:40:16 -07:00
|
|
|
\%trror:\ %m,
|
|
|
|
\%f:%l.%c-%e.%k\ %tarning:\ %m,
|
2021-05-02 07:19:25 -07:00
|
|
|
\%f:%l.%c\ %tarning:\ %m,
|
|
|
|
\%tarning:\ %m,
|
|
|
|
\%-G%.%#
|
|
|
|
|
|
|
|
let &cpo = s:cpo_save
|
|
|
|
unlet s:cpo_save
|