2021-08-08 13:09:21 +00:00
|
|
|
|
" Author: toastal <toastal@posteo.net>
|
2020-08-02 05:31:06 +00:00
|
|
|
|
" Description: Dhall’s built-in formatter
|
2020-09-14 02:20:53 +00:00
|
|
|
|
"
|
2020-08-02 05:31:06 +00:00
|
|
|
|
function! ale#fixers#dhall_format#Fix(buffer) abort
|
|
|
|
|
let l:executable = ale#dhall#GetExecutableWithOptions(a:buffer)
|
|
|
|
|
|
|
|
|
|
return {
|
2021-08-09 11:43:50 +00:00
|
|
|
|
\ 'command': l:executable
|
|
|
|
|
\ . ' format'
|
2020-08-02 05:31:06 +00:00
|
|
|
|
\}
|
|
|
|
|
endfunction
|