use .= where possible
Signed-off-by: James McCoy <vega.james@gmail.com>
This commit is contained in:
parent
30db0eec65
commit
39bc3f96c1
@ -328,7 +328,7 @@ function s:GPGInit(bufread)
|
|||||||
" FIXME find a better way to avoid an error.
|
" FIXME find a better way to avoid an error.
|
||||||
" with this solution only --use-agent will work
|
" with this solution only --use-agent will work
|
||||||
if (has("gui_running") && !has("gui_win32"))
|
if (has("gui_running") && !has("gui_win32"))
|
||||||
let s:GPGCommand = s:GPGCommand . " --no-tty"
|
let s:GPGCommand .= " --no-tty"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" setup shell environment for unix and windows
|
" setup shell environment for unix and windows
|
||||||
@ -398,9 +398,9 @@ function s:GPGInit(bufread)
|
|||||||
echohl None
|
echohl None
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
let s:GPGCommand = s:GPGCommand . " --use-agent"
|
let s:GPGCommand .= " --use-agent"
|
||||||
else
|
else
|
||||||
let s:GPGCommand = s:GPGCommand . " --no-use-agent"
|
let s:GPGCommand .= " --no-use-agent"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
call s:GPGDebug(2, "public key algorithms: " . s:GPGPubkey)
|
call s:GPGDebug(2, "public key algorithms: " . s:GPGPubkey)
|
||||||
|
Loading…
Reference in New Issue
Block a user