From e8159cf6fa23746a3e30dfbe1bc267acc51acb9a Mon Sep 17 00:00:00 2001 From: linrongbin16 Date: Fri, 27 Oct 2023 17:09:03 +0800 Subject: [PATCH] feat(nvim-spectre): search and replace solution (#336) --- lua/configs/nvim-pack/nvim-spectre/config.lua | 1 + lua/plugins/users_sample.lua | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 lua/configs/nvim-pack/nvim-spectre/config.lua diff --git a/lua/configs/nvim-pack/nvim-spectre/config.lua b/lua/configs/nvim-pack/nvim-spectre/config.lua new file mode 100644 index 00000000..b67854e6 --- /dev/null +++ b/lua/configs/nvim-pack/nvim-spectre/config.lua @@ -0,0 +1 @@ +require("spectre").setup() diff --git a/lua/plugins/users_sample.lua b/lua/plugins/users_sample.lua index a19bb53b..33b96a9b 100644 --- a/lua/plugins/users_sample.lua +++ b/lua/plugins/users_sample.lua @@ -117,6 +117,11 @@ -- init = lua_init("mbbill/undotree"), -- keys = lua_keys("mbbill/undotree"), -- }, +-- { +-- "nvim-pack/nvim-spectre", +-- cmd = { "Spectre" }, +-- config = lua_config("nvim-pack/nvim-spectre"), +-- }, -- } return {}