63e8946fc8
* Detect and use CM files for smlnj * Split into two checkers - one for CM projects - one for single SML files * Fix some typos * Fix error caught by writing tests We want to actually use `glob` to search in paths upwards from us. (Previously we were just searching in the current directory every time!) * Fix errors from former test run * Write tests for GetCmFile and GetExecutableSmlnj * Typo in 'smlnj/' fixture filenames
10 lines
334 B
VimL
10 lines
334 B
VimL
" Author: Paulo Alem <paulo.alem@gmail.com>, Jake Zimmerman <jake@zimmerman.io>
|
|
" Description: Single-file SML checking with SML/NJ compiler
|
|
|
|
call ale#linter#Define('sml', {
|
|
\ 'name': 'smlnj',
|
|
\ 'executable_callback': 'ale#handlers#sml#GetExecutableSmlnjFile',
|
|
\ 'command': 'sml',
|
|
\ 'callback': 'ale#handlers#sml#Handle',
|
|
\})
|