2021-10-11 05:30:43 -04:00
|
|
|
|
" Author: toastal <toastal@posteo.net>
|
2021-05-05 04:25:00 -04:00
|
|
|
|
" Description: Dhall’s built-in linter/formatter
|
|
|
|
|
|
|
|
|
|
function! ale#fixers#dhall_lint#Fix(buffer) abort
|
|
|
|
|
let l:executable = ale#dhall#GetExecutableWithOptions(a:buffer)
|
|
|
|
|
|
|
|
|
|
return {
|
2021-10-11 05:30:43 -04:00
|
|
|
|
\ 'command': l:executable
|
|
|
|
|
\ . ' lint'
|
2021-05-05 04:25:00 -04:00
|
|
|
|
\}
|
|
|
|
|
endfunction
|