mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-09 21:12:31 +08:00
* Line continuation characters should be on the same lines. * .vim file line indentation should be a multiple of 4.
12 lines
323 B
VimL
12 lines
323 B
VimL
call ale#Set('qml_qmlfmt_executable', 'qmlfmt')
|
|
|
|
function! ale#fixers#qmlfmt#GetExecutable(buffer) abort
|
|
return ale#Var(a:buffer, 'qml_qmlfmt_executable')
|
|
endfunction
|
|
|
|
function! ale#fixers#qmlfmt#Fix(buffer) abort
|
|
return {
|
|
\ 'command': ale#Escape(ale#fixers#qmlfmt#GetExecutable(a:buffer)),
|
|
\}
|
|
endfunction
|