Last active
January 1, 2016 09:29
haxe用のquickrun設定
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
let g:quickrun_config['haxe'] = { | |
\ 'command' : 'haxe' | |
\ , 'args' : '-x' | |
\ , 'cmdopt' : '-main ' . "%{HaxeClssName(expand(\"%S:t:r\"))}" | |
\ , 'exec' : "%c %o %a %s:p" | |
\ } | |
function! HaxeClssName(word) | |
" :rで拡張子が削除されてくれないので関数で対処。後で原因調べて直す | |
return substitute(a:word, '^\v.*\ze\.hx', '\u&', '') | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment