aboutsummaryrefslogtreecommitdiff
path: root/.vim/autoload/neomake/makers/ft/vue.vim
blob: d9f530312d5d36a403dbf2e5b4bacd163d777729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
" vim: ts=4 sw=4 et

function! neomake#makers#ft#vue#EnabledMakers() abort
    return ['eslint', 'standard']
endfunction

function! neomake#makers#ft#vue#eslint() abort
    let maker = neomake#makers#ft#javascript#eslint()
    call extend(get(maker, 'args', []), ['--plugin', 'html'])
    return maker
endfunction

function! neomake#makers#ft#vue#eslint_d() abort
    return neomake#makers#ft#vue#eslint()
endfunction

function! neomake#makers#ft#vue#standard() abort
    let maker = neomake#makers#ft#javascript#standard()
    call extend(get(maker, 'args', []), ['--plugin', 'html'])
    return maker
endfunction

function! neomake#makers#ft#vue#semistandard() abort
    let maker = neomake#makers#ft#javascript#semistandard()
    call extend(get(maker, 'args', []), ['--plugin', 'html'])
    return maker
endfunction