summaryrefslogtreecommitdiff
path: root/autoload/ale/fixers/qmlfmt.vim
blob: 90b25679bd6cee92b184477b560c5f4df56dbede (plain)
1
2
3
4
5
6
7
8
9
10
11
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