Created
October 6, 2013 22:51
-
-
Save h14i/6860170 to your computer and use it in GitHub Desktop.
quickrun.vim with tsc 0.9.1.1.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Fedora 19, npm 1.3.11, tsc 0.9.1.1 | |
let g:quickrun_config['typescript/base'] = { | |
\ 'cmdopt': '', | |
\ 'exec': ['tsc %o %s --out %s:p:r.js', '%c %s:p:r.js', 'rm -f %s:p:r.js'], | |
\ 'temp': '%{tempname()}.ts', | |
\ } | |
let g:quickrun_config['typescript/nodejs'] = { | |
\ 'type': 'typescript/base', | |
\ 'command': 'node', | |
\ } | |
let g:quickrun_config['typescript/phantomjs'] = { | |
\ 'type': 'typescript/base', | |
\ 'command': 'phantomjs', | |
\ } | |
let g:quickrun_config['typescript/v8'] = { | |
\ 'type': 'typescript/base', | |
\ 'command': 'd8', | |
\ } | |
let g:quickrun_config['typescript/rhino'] = { | |
\ 'type': 'typescript/base', | |
\ 'command': 'jrunscript', | |
\ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
中間ファイルの .js はいらないかも知れない。