mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-10 05:22:31 +08:00
Fix an SML variable init bug, and get the SML cm file tests to pass on Windows
This commit is contained in:
@@ -1,12 +1,6 @@
|
||||
" Author: Jake Zimmerman <jake@zimmerman.io>
|
||||
" Description: SML checking with SML/NJ Compilation Manager
|
||||
|
||||
" Let user manually set the CM file (in case our search for a CM file is
|
||||
" ambiguous and picks the wrong one)
|
||||
"
|
||||
" See :help ale-sml-smlnj for more information.
|
||||
call ale#Set('sml_smlnj_cm_file', '*.cm')
|
||||
|
||||
function! ale_linters#sml#smlnj_cm#GetCommand(buffer) abort
|
||||
let l:cmfile = ale#handlers#sml#GetCmFile(a:buffer)
|
||||
return 'sml -m ' . l:cmfile . ' < /dev/null'
|
||||
|
||||
Reference in New Issue
Block a user