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 |
|