From 8ec74ed27c9f04bdbf749ed2a7325ff7ffeee05b Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Fri, 17 May 2024 12:02:46 +0200 Subject: [PATCH] telescope: update command in live grep args keymap --- lua/nxvim/plugins/telescope.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/nxvim/plugins/telescope.lua b/lua/nxvim/plugins/telescope.lua index 1c5bb35..fc51e6c 100644 --- a/lua/nxvim/plugins/telescope.lua +++ b/lua/nxvim/plugins/telescope.lua @@ -227,7 +227,7 @@ nx.map({ { "/:", "Telescope commands", desc = "Search Commands" }, { "/f", "Telescope find_files", desc = "Search Files" }, -- {"/g", "Telescope live_grep theme=ivy", desc = "Grep" }, - { "/g", ":lua require('telescope').extensions.live_grep_args.live_grep_args()", desc = "Live Grep" }, + { "/g", "Telescope live_grep_args", desc = "Live Grep" }, -- As we just want to initate the grep_string command we use `:`. must end with ``. { "/G", ":Telescope grep_string theme=ivy search=", desc = "Grep String" }, { "/h", "Telescope highlights", desc = "Search Highlights" },