Created
December 8, 2016 07:58
-
-
Save squm/23a9b3101c0e0036b1620f6bd094481f to your computer and use it in GitHub Desktop.
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
command! -complete=file -nargs=* FindArg call <SID>FindArgFunc(<q-args>) | |
function! s:FindArgFunc(args) | |
if a:args == "" | |
let t:argv = input("argv: ", "", "file") | |
else | |
let t:argv = a:args | |
endif | |
endfunction |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment