mirror of
1
0
Fork 0
ultimate-vim/sources_non_forked/ale/autoload/ale/fixers/hlint.vim

14 lines
369 B
VimL
Raw Normal View History

2018-08-25 12:13:42 -04:00
" Author: eborden <evan@evan-borden.com>
" Description: Integration of hlint refactor with ALE.
"
function! ale#fixers#hlint#Fix(buffer) abort
return {
2018-09-30 16:58:57 -04:00
\ 'command': ale#handlers#hlint#GetExecutable(a:buffer)
2018-08-25 12:13:42 -04:00
\ . ' --refactor'
\ . ' --refactor-options="--inplace"'
\ . ' %t',
\ 'read_temporary_file': 1,
\}
endfunction