From 24ad6a9f2ee799276028d76f453a7e8333dc7fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 22 Mar 2022 18:46:13 +0100 Subject: add vim-gnupg --- init.lua | 1 + lua/user/gpg.lua | 7 +++++++ lua/user/plugins.lua | 1 + 3 files changed, 9 insertions(+) create mode 100644 lua/user/gpg.lua diff --git a/init.lua b/init.lua index 1188b59..e526281 100644 --- a/init.lua +++ b/init.lua @@ -12,6 +12,7 @@ require 'user.autopairs' require 'user.gitsigns' require 'user.nvim-tree' require 'user.bufferline' +require 'user.gpg' require('feline').setup({preset = 'noicon'}) 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 -- cgit v1.1-2-g2b99