From fb651914cdc7111e3c5f6add5d209dc31d21c079 Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Mon, 15 Jun 2026 21:22:38 -0400 Subject: fix: handle fzf_live callback returning table --- lua/denote-fzf-lua.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/denote-fzf-lua.lua b/lua/denote-fzf-lua.lua index 3fc4384..508730e 100644 --- a/lua/denote-fzf-lua.lua +++ b/lua/denote-fzf-lua.lua @@ -196,7 +196,8 @@ function M.search_contents(options) opts.fzf_opts = options.fzf_lua_opts.fzf_opts opts.actions = fzflua.defaults.actions.files fzflua.fzf_live(function(query) - return "rg --column --color=always -i -- " .. vim.fn.shellescape(query or "") + local q = type(query) == "table" and table.concat(query, " ") or query or "" + return "rg --column --color=always -i -- " .. vim.fn.shellescape(q) end, opts) end -- cgit v1.2.3