Patch by Erik Remmelzwaal
Make gnupg.vim work better on win32
This commit is contained in:
parent
9e7c686de5
commit
efd23b4440
@ -240,10 +240,10 @@ function s:GPGInit()
|
||||
let s:GPGCommand = g:GPGExecutable . " --no-use-agent"
|
||||
endif
|
||||
|
||||
" don't use tty in gvim
|
||||
" don't use tty in gvim except for windows: we get their a tty for free.
|
||||
" FIXME find a better way to avoid an error.
|
||||
" with this solution only --use-agent will work
|
||||
if (has("gui_running"))
|
||||
if (has("gui_running") && !has("gui_win32"))
|
||||
let s:GPGCommand = s:GPGCommand . " --no-tty"
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user