Skip to content

Commit

Permalink
use .= where possible
Browse files Browse the repository at this point in the history
Signed-off-by: James McCoy <vega.james@gmail.com>
  • Loading branch information
rudis authored and jamessan committed Oct 6, 2015
1 parent 30db0ee commit 39bc3f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/gnupg.vim
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 39bc3f9

Please sign in to comment.