mirror of
https://github.com/Ascyii/vim-gnupg.git
synced 2026-01-01 06:14:24 -05:00
Forgot one place while adding '.pgp' suffix.
This commit is contained in:
@@ -335,7 +335,7 @@ endf
|
|||||||
"
|
"
|
||||||
fun s:GPGEditRecipients()
|
fun s:GPGEditRecipients()
|
||||||
" only do this if it isn't already a GPGRecipients_* buffer
|
" only do this if it isn't already a GPGRecipients_* buffer
|
||||||
if (match(bufname("%"), "^\\(GPGRecipients_\\|GPGOptions_\\)") != 0 && match(bufname("%"), "\.gpg$") >= 0)
|
if (match(bufname("%"), "^\\(GPGRecipients_\\|GPGOptions_\\)") != 0 && match(bufname("%"), "\.\\(gpg\\|pgp\\)$") >= 0)
|
||||||
|
|
||||||
" save buffer name
|
" save buffer name
|
||||||
let buffername=bufname("%")
|
let buffername=bufname("%")
|
||||||
@@ -502,7 +502,7 @@ endf
|
|||||||
"
|
"
|
||||||
fun s:GPGEditOptions()
|
fun s:GPGEditOptions()
|
||||||
" only do this if it isn't already a GPGOptions_* buffer
|
" only do this if it isn't already a GPGOptions_* buffer
|
||||||
if (match(bufname("%"), "^\\(GPGRecipients_\\|GPGOptions_\\)") != 0 && match(bufname("%"), "\.gpg$") >= 0)
|
if (match(bufname("%"), "^\\(GPGRecipients_\\|GPGOptions_\\)") != 0 && match(bufname("%"), "\.\\(gpg\\|pgp\\)$") >= 0)
|
||||||
|
|
||||||
" save buffer name
|
" save buffer name
|
||||||
let buffername=bufname("%")
|
let buffername=bufname("%")
|
||||||
|
|||||||
Reference in New Issue
Block a user