local function config() local helper = require("plugins.ddu.map").map_source helper("lw", "lsp_workspaceSymbol", { sources = { { name = "lsp_workspaceSymbol" } }, sourceOptions = { lsp = { volatile = true } }, }) helper("lc", "lsp_callHierarchy/outgoingCalls", { sources = { { name = "lsp_callHierarchy", params = { methoed = "callHierarchy/outgoingCalls" }, }, }, uiParams = { ff = { displayTree = true, startFilter = false } }, }) end local spec = { "uga-rosa/ddu-source-lsp", dependencies = { "Shougo/ddu.vim" }, config = config } return spec