From e3e80656c1ede8f9f76fc6d79cccb4f2011330f7 Mon Sep 17 00:00:00 2001 From: "Lucas F." Date: Tue, 17 Dec 2024 17:46:22 -0300 Subject: [PATCH] update: enable live_multigrep --- lua/plugins/config/multigrep.lua | 3 ++- lua/polish.lua | 25 +++++++++++++------------ 2 files changed, 15 insertions(+), 13 deletions(-) diff --git a/lua/plugins/config/multigrep.lua b/lua/plugins/config/multigrep.lua index 8afaa86..354bdd1 100644 --- a/lua/plugins/config/multigrep.lua +++ b/lua/plugins/config/multigrep.lua @@ -45,6 +45,7 @@ local live_multigrep = function(opts) :find() end -M.setup = function() vim.keymap.set("n", "fg", live_multigrep, { desc = "Find using multigrep" }) end +M.setup = function() vim.keymap.set("n", "fG", live_multigrep, { desc = "Find using multigrep" }) end + return M diff --git a/lua/polish.lua b/lua/polish.lua index 5b65b7d..5150fcf 100644 --- a/lua/polish.lua +++ b/lua/polish.lua @@ -1,18 +1,19 @@ -if true then return end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE +-- if true then return end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE -- This will run last in the setup process and is a good place to configure -- things like custom filetypes. This is just pure lua so anything that doesn't -- fit in the normal config locations above can go here -- Set up custom filetypes -vim.filetype.add { - extension = { - foo = "fooscript", - }, - filename = { - ["Foofile"] = "fooscript", - }, - pattern = { - ["~/%.config/foo/.*"] = "fooscript", - }, -} +-- vim.filetype.add { +-- extension = { +-- foo = "fooscript", +-- }, +-- filename = { +-- ["Foofile"] = "fooscript", +-- }, +-- pattern = { +-- ["~/%.config/foo/.*"] = "fooscript", +-- }, +-- } +require("plugins.config.multigrep").setup()