How to disable "hook/shebang"?
laxtiz opened this issue · comments
Zhong Liu commented
I write python code on windows.
if source code haven't shebang on line one, all ok.
but my code run on a linux server, there must have shebang line.
How to disable shebang module?
like this ?
let g:quickrun_config = {}
let g:quickrun_config._ = {
\ 'hook/shebang/enable': 0
\ }
thinca commented
Yes. Are there any problems?
Zhong Liu commented
no problems. thanks
i have changed like this:
let g:quickrun_config = {}
let g:quickrun_config._ = {
\ 'hook/shebang/enable': !has('win32')
\ }