aboutsummaryrefslogtreecommitdiff
path: root/.vim/autoload/neomake/makers/ft/tsx.vim
blob: 2a31b4d2b7d632637750075a805554064052f62b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function! neomake#makers#ft#tsx#SupersetOf() abort
    return 'typescript'
endfunction

function! neomake#makers#ft#tsx#EnabledMakers() abort
    return ['tsc', 'tslint']
endfunction

function! neomake#makers#ft#tsx#tsc() abort
    let config = neomake#makers#ft#typescript#tsc()
    let config.args = config.args + ['--jsx', 'preserve']
    return config
endfunction

" vim: ts=4 sw=4 et