From aedd001a49b562b24f5dccf1e0927d289d10f6aa Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Tue, 16 Sep 2025 08:42:11 +0545 Subject: [PATCH] refactor(whichkey): use module name for snack picker calls --- lua/plugins/whichkey.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/whichkey.lua b/lua/plugins/whichkey.lua index fe8bacd..b0f1354 100644 --- a/lua/plugins/whichkey.lua +++ b/lua/plugins/whichkey.lua @@ -65,8 +65,8 @@ return { { 'f', group = ' Find' }, { 'fx', ':%bd|e#|bd#', desc = 'Close except current' }, - { 'ff', ":lua require('snacks').picker.files()", desc = 'Find Files' }, - { 'fg', ":lua require('snacks').picker.live_grep()", desc = 'Live Grep' }, + { 'ff', ':lua Snacks.picker.files()', desc = 'Find Files' }, + { 'fg', ':lua Snacks.picker.grep()', desc = 'Live Grep' }, { 'fp', ':lua Snacks.picker.projects()', desc = 'Projects' }, { 'ct',