summaryrefslogtreecommitdiffstats
path: root/lua/user
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2022-03-22 18:46:13 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2022-03-22 18:46:13 +0100
commit24ad6a9f2ee799276028d76f453a7e8333dc7fe5 (patch)
treedb5e26ffec42382b762b2eeca9330025f4f3b800 /lua/user
parented27977fc818a76b17f70acad5f5badb5c67c14b (diff)
downloadvim-24ad6a9f2ee799276028d76f453a7e8333dc7fe5.zip
vim-24ad6a9f2ee799276028d76f453a7e8333dc7fe5.tar.gz
add vim-gnupg
Diffstat (limited to 'lua/user')
-rw-r--r--lua/user/gpg.lua7
-rw-r--r--lua/user/plugins.lua1
2 files changed, 8 insertions, 0 deletions
diff --git a/lua/user/gpg.lua b/lua/user/gpg.lua
new file mode 100644
index 0000000..9639cf7
--- /dev/null
+++ b/lua/user/gpg.lua
@@ -0,0 +1,7 @@
+local status_ok, gnupg = pcall(require, "vim-gnupg")
+if not status_ok then
+ print "vim-gnupg init failed"
+ return
+end
+
+gnupg.setup { }
diff --git a/lua/user/plugins.lua b/lua/user/plugins.lua
index 12d4e2a..dfe37e2 100644
--- a/lua/user/plugins.lua
+++ b/lua/user/plugins.lua
@@ -55,6 +55,7 @@ return packer.startup(function(use)
-- use 'vim-airline/vim-airline-themes' -- Status/Tab line Themes
use 'feline-nvim/feline.nvim'
use 'embear/vim-localvimrc' -- support .lvimrc
+ use 'jamessan/vim-gnupg' -- support gpg
-- Colorschemes
-- use 'lunarvim/colorschemes' -- A bunch of colorschemes you can try out