From 39bc3f96c1562ba168e5835aa9985ecfb98887e3 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 3 Oct 2015 16:26:43 +0200 Subject: [PATCH] use .= where possible Signed-off-by: James McCoy --- plugin/gnupg.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/gnupg.vim b/plugin/gnupg.vim index deb0cc5..f32aa7b 100644 --- a/plugin/gnupg.vim +++ b/plugin/gnupg.vim @@ -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)