Created
November 13, 2010 10:32
-
-
Save sgur/675234 to your computer and use it in GitHub Desktop.
quickrun.vim で C# のコマンドラインコンパイラを利用する設定。set shellslashでも動作する(と思う)。vimprocだとうまく動かず。
This file contains hidden or 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
let g:quickrun_config = { } | |
let g:quickrun_config['cs'] = { | |
\ 'command' : 'csc', | |
\ 'runmode' : 'simple', | |
\ 'exec' : ['%c /nologo %s:gs?/?\\? > /dev/null', '"%S:p:r:gs?/?\\?.exe" %a', ':call delete("%S:p:r.exe")'], | |
\ 'tempfile' : '{tempname()}.cs', | |
\ } | |
runmode:simple でも set shellslash の場合コマンドラインにパス区切り文字列('/')が出てくるとダメでした。
これは quickrun いじらないといけないかも…
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
うーん。> nulだからかな。>/dev/nullを使ってください。