We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd0c2d3 + 02ee70f commit 778c0e9Copy full SHA for 778c0e9
lua/neogit/lib/finder.lua
@@ -117,6 +117,7 @@ end
117
--- Utility function to map actions
118
---@param on_select fun(item: any|nil)
119
---@param allow_multi boolean
120
+---@param refocus_status boolean
121
local function fzf_actions(on_select, allow_multi, refocus_status)
122
local function refresh()
123
if refocus_status then
@@ -150,7 +151,10 @@ end
150
151
local function fzf_opts(opts)
152
local fzf_opts = {}
153
- if not opts.allow_multi then
154
+ -- Allow multi by default
155
+ if opts.allow_multi then
156
+ fzf_opts["--multi"] = ""
157
+ else
158
fzf_opts["--no-multi"] = ""
159
end
160
0 commit comments