local helper = require("kyoh86.plug.ddu.helper") ---@type LazySpec local spec = { "kyoh86/ddu-source-lazy_nvim", dependencies = { "Shougo/ddu.vim", "Shougo/ddu-kind-file", "folke/lazy.nvim" }, config = function() helper.map_start("p", "lazy_nvim", { sources = { { name = "lazy_nvim" } }, kindOptions = { file = { defaultAction = "cd", }, }, }) helper.map_ff_file("lazy_nvim", function(map) map("e", helper.action("itemAction", { name = "open" })) map("b", helper.action("itemAction", { name = "browse" })) map("g", helper.action("itemAction", { name = "grep_config" })) map("c", helper.action("itemAction", { name = "grep_config" })) map("f", helper.action("itemAction", { name = "fork" })) end) end, } return spec