mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
ensure project default keymap works when using snacks
This commit is contained in:
parent
66981fe5b2
commit
34f6a3987c
1 changed files with 2 additions and 0 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue