From a63c9cb85095a947989a6f4746afea4ffaac3b96 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 2 Aug 2022 01:33:38 -0500 Subject: [PATCH] fix(nvim): use loaded for neoclip --- .../primary/config/lua/plugins/configs/_neoclip.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dots/.nvim-environments/primary/config/lua/plugins/configs/_neoclip.lua b/dots/.nvim-environments/primary/config/lua/plugins/configs/_neoclip.lua index 3bebdd32..3dd3c53d 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/configs/_neoclip.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/configs/_neoclip.lua @@ -1,5 +1,5 @@ -local neoclip = pcall(require, "neoclip") -if not neoclip then +local loaded, neoclip = pcall(require, "neoclip") +if not loaded then return end neoclip.setup({