thinca / vim-quickrun

Run commands quickly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to disable "hook/shebang"?

laxtiz opened this issue · comments

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

Yes. Are there any problems?

no problems. thanks
i have changed like this:

let g:quickrun_config = {}
let g:quickrun_config._ = {
            \ 'hook/shebang/enable': !has('win32')
            \ }