Trigger BufWritePost event via BufWriteCmd/FileWriteCmd
Closes jamessan/vim-gnupg#23 Signed-off-by: James McCoy <vega.james@gmail.com>
This commit is contained in:
parent
20999789f8
commit
28c6e91593
@ -680,6 +680,7 @@ function s:GPGEncrypt()
|
||||
|
||||
call rename(destfile, resolve(expand('<afile>')))
|
||||
setl nomodified
|
||||
silent execute ':doautocmd BufWritePost ' . fnameescape(expand('<afile>:r'))
|
||||
call s:GPGDebug(3, "<<<<<<<< Leaving s:GPGEncrypt()")
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user