From 1840d272d458432eb63c5acd2d4e0b7b88c197ea Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 28 Sep 2022 22:20:45 -0500 Subject: [PATCH] refactor(nvim): place neoclip config in packer `use` --- .../primary/config/lua/plugins/configs/_neoclip.lua | 3 --- .../.nvim-environments/primary/config/lua/plugins/plugins.lua | 4 +++- 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100755 dots/.nvim-environments/primary/config/lua/plugins/configs/_neoclip.lua diff --git a/dots/.nvim-environments/primary/config/lua/plugins/configs/_neoclip.lua b/dots/.nvim-environments/primary/config/lua/plugins/configs/_neoclip.lua deleted file mode 100755 index 78dabca2..00000000 --- a/dots/.nvim-environments/primary/config/lua/plugins/configs/_neoclip.lua +++ /dev/null @@ -1,3 +0,0 @@ -require("neoclip").setup({ - enable_persistent_history = true, -}) diff --git a/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua b/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua index 3e55186e..6728a6de 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/plugins.lua @@ -564,7 +564,9 @@ return packer.startup({ { "nvim-telescope/telescope.nvim" }, }, config = function() - require("plugins.configs._neoclip") + require("neoclip").setup({ + enable_persistent_history = true, + }) end, })