From ebf0dab03c4224dc032d55c4bfc7d67e074e5df0 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Wed, 22 Feb 2023 17:58:05 +0200 Subject: [PATCH] Fix issues after migrating to lazy package manager --- home/.config/nvim/lua/plugins/init.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/home/.config/nvim/lua/plugins/init.lua b/home/.config/nvim/lua/plugins/init.lua index efc2b75..4d7adfb 100644 --- a/home/.config/nvim/lua/plugins/init.lua +++ b/home/.config/nvim/lua/plugins/init.lua @@ -163,7 +163,9 @@ local plugins = { -- Make editing passwords safer { "https://git.zx2c4.com/password-store", - rtp = "contrib/vim/redact_pass.vim", + config = function(plugin) + vim.opt.rtp:append(plugin.dir .. "contrib/vim/redact_pass.vim") + end, }, -- Neovim inside Firefox @@ -181,7 +183,7 @@ local plugins = { { "iamcco/markdown-preview.nvim", build = "cd app && npm install", - setup = function() + config = function() vim.g.mkdp_filetypes = { "markdown" } end, ft = { "markdown" },