-
-
Save usualoma/2dba57cccdb448846a1b to your computer and use it in GitHub Desktop.
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
diff --git a/autoload/quickrun.vim b/autoload/quickrun.vim | |
index db94437..b7f1835 100644 | |
--- a/autoload/quickrun.vim | |
+++ b/autoload/quickrun.vim | |
@@ -596,7 +596,7 @@ endfunction | |
function! s:Runner.build_command(tmpl) " {{{2 | |
" FIXME: Possibility to be multiple expanded. | |
let config = self.config | |
- let shebang = self.detect_shebang() | |
+ let shebang = config.shebang == '0' ? '' : self.detect_shebang() | |
let src = string(self.source_name) | |
let command = shebang != '' ? string(shebang) : 'config.command' | |
let rule = [ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment