diff options
| author | historia <[not public]> | 2026-06-15 21:09:12 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-06-15 21:17:39 -0400 |
| commit | 69c854a8e4a8b10f940d9a0192d2d40d3b306943 (patch) | |
| tree | 762841e523b160134633ace39be3a7cb6ee6c283 /lua | |
| parent | 09abb65284a696f3396e38e32e0d4fe1a696c2a3 (diff) | |
| download | denote-fzf-lua-69c854a8e4a8b10f940d9a0192d2d40d3b306943.tar.gz | |
fix: fzf-lua version change broke this. fixed.
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/denote-fzf-lua.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/denote-fzf-lua.lua b/lua/denote-fzf-lua.lua index 094f280..f545bc0 100644 --- a/lua/denote-fzf-lua.lua +++ b/lua/denote-fzf-lua.lua @@ -123,7 +123,8 @@ function M.search_contents(options) opts.fzf_opts = options.fzf_lua_opts.fzf_opts opts.actions = fzflua.defaults.actions.files return fzflua.fzf_live(function(q) - return "rg --column --color=always -i -- " .. vim.fn.shellescape(q or '') + local query = type(q) == "table" and table.concat(q, " ") or q or '' + return "rg --column --color=always -i -- " .. vim.fn.shellescape(query) end, opts) end |
