ensure project default keymap works when using snacks

This commit is contained in:
Daniel Chong 2025-02-11 08:45:35 +13:00
parent 66981fe5b2
commit 34f6a3987c

View file

@ -3,6 +3,8 @@ local pick = nil
pick = function()
if LazyVim.pick.picker.name == "telescope" then
return vim.cmd("Telescope projects")
elseif LazyVim.pick.picker.name == "snacks" then
return Snacks.picker.projects()
elseif LazyVim.pick.picker.name == "fzf" then
local fzf_lua = require("fzf-lua")
local project = require("project_nvim.project")