Skip to content

Commit b56cd2f

Browse files
committed
fix(global): convert other nest config
1 parent 2847700 commit b56cd2f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lua/fzf-lua/providers/meta.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ M.global = function(opts)
194194
-- with-nth for the transform (e.g. for blines)
195195
-- TODO: we can probably inerit all opts but I'm not sure what would be
196196
-- the effects of that, this entire picker needs refactoring
197-
local picker_opts = config.normalize_opts(t.opts, name:gsub("^lsp_", "lsp."))
197+
local picker_opts = config.normalize_opts(t.opts,
198+
name:gsub("^lsp_", "lsp."):gsub("^git_", "git."):gsub("^dap_", "dap."))
198199
if not utils.map_get(def, "opts.fzf_opts") then utils.map_set(def, "opts.fzf_opts", {}) end
199200
def.opts.fzf_opts = vim.tbl_deep_extend("force", def.opts.fzf_opts, picker_opts.fzf_opts)
200201
-- Instantiate the previewer, opts isn't guaranteed if the picker

0 commit comments

Comments
 (0)