use .= where possible

Signed-off-by: James McCoy <vega.james@gmail.com>
This commit is contained in:
Simon Ruderich
2015-10-03 16:26:43 +02:00
committed by James McCoy
parent 30db0eec65
commit 39bc3f96c1

View File

@@ -328,7 +328,7 @@ function s:GPGInit(bufread)
" FIXME find a better way to avoid an error.
" with this solution only --use-agent will work
if (has("gui_running") && !has("gui_win32"))
let s:GPGCommand = s:GPGCommand . " --no-tty"
let s:GPGCommand .= " --no-tty"
endif
" setup shell environment for unix and windows
@@ -398,9 +398,9 @@ function s:GPGInit(bufread)
echohl None
endif
endif
let s:GPGCommand = s:GPGCommand . " --use-agent"
let s:GPGCommand .= " --use-agent"
else
let s:GPGCommand = s:GPGCommand . " --no-use-agent"
let s:GPGCommand .= " --no-use-agent"
endif
call s:GPGDebug(2, "public key algorithms: " . s:GPGPubkey)