TypeScriptの設定を変更

.vimrc

 let g:quickrun_config['typescript'] = { 'type' : 'typescript/tsc' }
 let g:quickrun_config['typescript/tsc'] = {
 \   'command': 'tsc',
 \   'exec': ['%c --target esnext --module commonjs %o %s', 'node %s:r.js'],
 \   'tempfile': '%{tempname()}.ts',
 \   'hook/sweep/files': ['%S:p:r.js'],
 \ }

参考

https://github.com/thinca/vim-quickrun/blob/master/doc/quickrun.jax


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2019-05-16 (木) 08:53:02