mirror of
https://github.com/Ascyii/vim-gnupg.git
synced 2026-01-01 06:14:24 -05:00
Don't use explicit join() in match() calls.
This commit is contained in:
@@ -408,7 +408,7 @@ fun s:GPGEncrypt()
|
|||||||
let recipients=recipients . " -r " . gpgid
|
let recipients=recipients . " -r " . gpgid
|
||||||
endfor
|
endfor
|
||||||
else
|
else
|
||||||
if (match(join(b:GPGOptions, " "), "encrypt") >= 0)
|
if (match(b:GPGOptions, "encrypt") >= 0)
|
||||||
echohl GPGError
|
echohl GPGError
|
||||||
echom "There are no recipients!!"
|
echom "There are no recipients!!"
|
||||||
echom "Please use GPGEditRecipients to correct!!"
|
echom "Please use GPGEditRecipients to correct!!"
|
||||||
|
|||||||
Reference in New Issue
Block a user