vis-gpg

edit GPG encrypted files in place with vis
git clone anongit@rnpnr.xyz:vis-gpg.git
Log | Files | Refs | Feed | README | LICENSE

Commit: ae523aa9164f067d4e4b4c8d9ab34133bda32951
Parent: 1441ea69d3d0b8bb82a48c5a78eab8bf04e2a896
Author: Randy Palamar
Date:   Wed, 29 Mar 2023 08:18:18 -0600

set global variable in more standard way

Diffstat:
Mvis-gpg.lua | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/vis-gpg.lua b/vis-gpg.lua @@ -1,4 +1,4 @@ -gpg = { key = 0 } +local gpg = { key = 0 } local function splitext(file) if file == nil then return nil, nil end @@ -69,3 +69,5 @@ local function encrypt(file) return true end vis.events.subscribe(vis.events.FILE_SAVE_PRE, encrypt) + +return gpg