Fix an SML variable init bug, and get the SML cm file tests to pass on Windows

This commit is contained in:
w0rp
2017-09-10 00:20:05 +01:00
parent 1a52a2b880
commit c11d2ae375
3 changed files with 11 additions and 14 deletions

View File

@@ -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'