mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-24 20:12:27 +08:00
* Fix 4740 - add hurlfmt linter * Fix 4740 - add hurlfmt fixer * Fix wrong comments * Add end_col to qflist * Fix test
16 lines
387 B
VimL
16 lines
387 B
VimL
call ale#Set('hurl_hurlfmt_executable', 'hurlfmt')
|
|
|
|
function! ale#fixers#hurlfmt#GetCommand(buffer) abort
|
|
let l:executable = ale#Var(a:buffer, 'hurl_hurlfmt_executable')
|
|
|
|
return ale#Escape(l:executable)
|
|
\ . ' --out hurl'
|
|
endfunction
|
|
|
|
function! ale#fixers#hurlfmt#Fix(buffer) abort
|
|
return {
|
|
\ 'command': ale#fixers#hurlfmt#GetCommand(a:buffer)
|
|
\}
|
|
endfunction
|
|
|