@ 261105.2

251129.30 · 05ff05f6dd34bf479eb45c01249ef68c1edd859a

chore: use emmylua_doc_cli generate OPTION.md

ci: update screenshots

reading declarations

lua/fzf-lua/defaults.lua

@@ -40,8 +40,70 @@ function M._man_cmd_fn(bat_pager)   return string.format("%s %%s 2>/dev/null | %s", cmd, pager) end +---@class fzf-lua.config.TreesitterWinopts+---@field enabled boolean Enable treesitter highlighting in fzf main window.+---@field fzf_colors? table<string, string> Treesitter fzf color overrides.++---@class fzf-lua.config.Winopts: vim.api.keyset.win_config+---Height of the fzf-lua float+---between 0-1 will represent percentage of `vim.o.lines` (1: max height)+---if >= 1 will use fixed number of lines.+---@field height? number+---Width of the fzf-lua float+---between 0-1 will represent percentage of `vim.o.columns` (1: max width)+---if >= 1 will use fixed number of columns.+---@field width? number+---Screen row where to place the fzf-lua float window+---between 0-1 will represent percentage of `vim.o.lines` (0: top, 1: bottom)+---if >= 1 will attempt to place the float in the exact screen line.+---@field row? number+---Screen column where to place the fzf-lua float window+---between 0-1 will represent percentage of `vim.o.columns` (0: leftmost, 1: rightmost)+---if >= 1 will attempt to place the float in the exact screen column.+---@field col? number+---@field preview fzf-lua.config.PreviewOpts Preview window configuration.+---@field split? string|function|false Neovim split command to use for fzf-lua interface, e.g `belowright new`.+---@field backdrop? number|boolean Backdrop opacity, 0-100, or false to disable (requires Neovim >= 0.10).+---@field fullscreen? boolean Open fzf-lua in fullscreen.+---@field treesitter? fzf-lua.config.TreesitterWinopts Use treesitter highlighting in fzf's main window.+---@field on_create? fun(e: { winid?: integer, bufnr?: integer }) Callback after the creation of the fzf-lua main terminal window.+---@field on_close? fun() Callback after closing the fzf-lua window.+---@field toggle_behavior? string Toggle behavior for fzf-lua window.+---@field winblend? boolean Enable window transparency.+---@field winhl? boolean Enable window highlight groups.+---@field cursorline? boolean Highlight the current line in main window.+---@field __winhls? { main: [string, string?][], prev: [string, string?][] } Internal window highlight mappings.++---@class fzf-lua.config.PreviewOpts+---@field default? string Default previewer for file pickers, possible values `builtin|bat|cat|head`.+---@field border? any Preview border for native fzf previewers, set to `noborder` to hide.+---@field wrap? boolean Line wrap in both native fzf and the builtin previewer.+---@field hidden? boolean Preview startup visibility in both native fzf and the builtin previewer.+---@field vertical? string Vertical preview layout, mapped to fzf's `--preview-window` flag.+---@field horizontal? string Horizontal preview layout, mapped to fzf's `--preview-window` flag.+---@field layout? string Preview layout, possible values are `horizontal|vertical|flex`.+---@field flip_columns? integer Auto-detect the preview layout based on available width.+---@field title? any Show preview title.+---@field title_pos? "center"|"left"|"right" Preview title position.+---@field scrollbar? string Preview window scrollbar (`border|float`).+---@field scrolloff? integer Preview window scrolloff.+---@field delay? integer Debounce time (milliseconds) for displaying the preview buffer in the builtin previewer.+---@field winopts fzf-lua.config.PreviewerWinopts Window options for the builtin previewer.+ ---missing fields are injected later, not sure how to tell luals about it----@class fzf-lua.config.Defaults+---@class fzf-lua.config.Defaults: fzf-lua.config.Base,{}+---@field nbsp string Special invisible unicode character used as text delimiter.+---@field winopts fzf-lua.config.Winopts Window options.+---@field keymap fzf-lua.config.Keymap Keymaps for builtin and fzf commands.+---@field actions table<string, fzf-lua.config.Actions> Actions to execute on selected items.+---@field fzf_bin string? Path to fzf binary.+---@field previewers fzf-lua.config.Previewers Previewer configurations.+---@field formatters table<string, any> Entry formatters.+---@field zoxide fzf-lua.config.Zoxide Zoxide integration configuration.+---@field file_icon_padding string Padding after file icons.+---@field dir_icon string Directory icon to display in front of directory entries.+---@field __HLS fzf-lua.config.HLS Highlight group configuration.+---@field [string] any M.defaults        = {   nbsp          = utils.nbsp,   winopts       = {@@ -74,6 +136,18 @@ M.defaults        = {       -- default preview delay, fzf native previewers has a 100ms delay:       -- https://github.com/junegunn/fzf/issues/2417#issuecomment-809886535       delay        = 20,+      ---@class fzf-lua.config.PreviewerWinopts+      ---@field number boolean Show line numbers in preview.+      ---@field relativenumber boolean Show relative line numbers in preview.+      ---@field cursorline boolean Highlight current line in preview.+      ---@field cursorlineopt string Cursorline option for preview.+      ---@field cursorcolumn boolean Highlight current column in preview.+      ---@field signcolumn string Sign column option for preview.+      ---@field list boolean Show invisible characters in preview.+      ---@field foldenable boolean Enable code folding in preview.+      ---@field foldmethod string Fold method for preview.+      ---@field scrolloff integer Scrolloff option for preview.+      ---@field winblend integer Window transparency for preview.       winopts      = {         number         = true,         relativenumber = false,@@ -92,6 +166,9 @@ M.defaults        = {     --   utils.keymap_set("t", "<A-Esc>", actions.hide, { nowait = true, buffer = e.bufnr })     -- end,   },+  ---@class fzf-lua.config.Keymap+  ---@field builtin? table<string, string> Keybinds for builtin (Neovim) commands.+  ---@field fzf? table<string, string> Keybinds for fzf commands.   keymap        = {     builtin = {       ["<M-Esc>"]    = "hide",@@ -143,7 +220,8 @@ M.defaults        = {       ["alt-f"]  = { fn = actions.toggle_follow, reuse = true, header = false },     },   },-  fzf_bin       = nil,+  fzf_bin       = nil, ---@type string? Path to fzf binary.+  ---Fzf command-line options passed to fzf binary.   fzf_opts      = {     ["--ansi"]           = true,     ["--info"]           = "inline-right",@@ -152,6 +230,7 @@ M.defaults        = {     ["--border"]         = "none",     ["--highlight-line"] = true,   },+  ---Options passed to fzf-tmux wrapper.   fzf_tmux_opts = { ["-p"] = "80%,80%", ["--margin"] = "0,0" },   ---@class fzf-lua.config.Previewers   ---@field builtin fzf-lua.config.BuiltinPreviewer@@ -659,6 +738,7 @@ M.defaults.git                   = { ---@field search? string ---@field no_esc? integer|boolean ---@field lgrep? boolean grep or lgrep+---@field search_paths? string[] ---@field __resume_set? function ---@field __resume_get? function M.defaults.grep                  = {@@ -703,7 +783,7 @@ M.defaults.grep_curbuf           = vim.tbl_deep_extend("force", M.defaults.grep, ---@class fzf-lua.config.Args: fzf-lua.config.Base M.defaults.args                  = {   previewer         = M._default_previewer_fn,-  files_only        = true,+  files_only        = true, -- Exclude non-file entries (directories).   file_icons        = 1, ---@type integer|boolean   color_icons       = true,   git_icons         = false,@@ -1014,7 +1094,6 @@ M.defaults.btags                 = { }  ---@class fzf-lua.config.Colorschemes: fzf-lua.config.Base----@field live_preview boolean ---@field colors string[] overriden colorscheme list ---@field ignore_patterns string[] lua patterns to filter colorschemes M.defaults.colorschemes          = {@@ -1034,11 +1113,7 @@ M.defaults.highlights            = { }  ---@class fzf-lua.config.AwesomeColorschemes: fzf-lua.config.Base----@field live_preview boolean----@field max_threads integer----@field dbfile string----@field icons table----@field packpath fun():string+---@field icons [string, string, string] ---@field _adm fzf-lua.AsyncDownloadManager ---@field dl_status integer ---@field _apply_awesome_theme function@@ -1352,7 +1427,7 @@ M.defaults.builtin               = { }  ---@class fzf-lua.config.Profiles: fzf-lua.config.Base----@field load table+---@field load fzf-lua.profile M.defaults.profiles              = {   previewer = M._default_previewer_fn,   fzf_opts  = {@@ -1420,9 +1495,8 @@ M.defaults.commands              = { }  ---@class fzf-lua.config.Autocmds: fzf-lua.config.Base----@field show_desc boolean M.defaults.autocmds              = {-  show_desc = true,+  show_desc = true, -- show desc field in fzf list   previewer = { _ctor = previewers.builtin.autocmds },   _actions  = function() return M.globals.actions.files end,   fzf_opts  = {@@ -1457,7 +1531,7 @@ M.defaults.search_history        = { }  ---@class fzf-lua.config.Registers: fzf-lua.config.Base----@field filter string+---@field filter string|function (ls: "ls") M.defaults.registers             = {   multiline    = true, ---@type integer|boolean   ignore_empty = true,@@ -1504,6 +1578,7 @@ M.defaults.nvim_options          = { }  ---@class fzf-lua.config.SpellSuggest: fzf-lua.config.Base+---The pattern used to match the word under the cursor. Text around the cursor position that matches will be used as the initial query and replaced by a chosen completion. The default matches anything but spaces and single/double quotes. ---@field word_pattern? string M.defaults.spell_suggest         = {   winopts = {@@ -1519,8 +1594,9 @@ M.defaults.spell_suggest         = { }  ---@class fzf-lua.config.Serverlist : fzf-lua.config.Base+---@field _screenshot string M.defaults.serverlist            = {-  screenshot = vim.fn.tempname(),+  _screenshot = vim.fn.tempname(),   previewer = { _ctor = previewers.fzf.nvim_server },   _resume_reload = true, -- avoid list contain killed server unhide   keymap = { fzf = { resize = "refresh-preview" } },

lua/fzf-lua/previewer/fzf.lua

@@ -551,7 +551,7 @@ function Previewer.nvim_server:cmdline(_)     self._last_query = items[2] or ""     local addr = parse_entry(items[1])     if not addr then return "true" end-    local screenshot = assert(self.opts.screenshot) ---@type string+    local screenshot = assert(self.opts._screenshot) ---@type string     local pid = make_screenshot(screenshot, addr, lines, columns)     local wait = pid         and vim.fn.executable("waitpid") == 1

lua/fzf-lua/types.lua

@@ -60,108 +60,6 @@ _G.FzfLua = require("fzf-lua") ---@field [2]? boolean|integer ---@field defaults fzf-lua.config.Defaults|{} ----@class fzf-lua.config.Defaults: fzf-lua.config.Base,{}----@field nbsp string----@field winopts fzf-lua.config.Winopts----@field keymap fzf-lua.config.Keymap----@field actions table<string, fzf-lua.config.Actions>----@field fzf_bin string?----@field fzf_opts table<string, any>----@field fzf_tmux_opts table<string, any>----@field previewers fzf-lua.config.Previewers----@field formatters table<string, any>----@field files fzf-lua.config.Files----@field global fzf-lua.config.Global----@field git fzf-lua.config.Git----@field grep fzf-lua.config.Grep----@field grep_curbuf fzf-lua.config.GrepCurbuf----@field args fzf-lua.config.Args----@field oldfiles fzf-lua.config.Oldfiles----@field quickfix fzf-lua.config.Quickfix----@field quickfix_stack fzf-lua.config.QuickfixStack----@field loclist fzf-lua.config.Loclist----@field loclist_stack fzf-lua.config.LoclistStack----@field buffers fzf-lua.config.Buffers----@field tabs fzf-lua.config.Tabs----@field lines fzf-lua.config.Lines----@field blines fzf-lua.config.Blines----@field treesitter fzf-lua.config.Treesitter----@field spellcheck fzf-lua.config.Spellcheck----@field tags fzf-lua.config.Tags----@field btags fzf-lua.config.Btags----@field colorschemes fzf-lua.config.Colorschemes----@field highlights fzf-lua.config.Highlights----@field awesome_colorschemes fzf-lua.config.AwesomeColorschemes----@field helptags fzf-lua.config.Helptags----@field manpages fzf-lua.config.Manpages----@field lsp fzf-lua.config.Lsp----@field diagnostics fzf-lua.config.Diagnostics----@field builtin fzf-lua.config.Builtin----@field profiles fzf-lua.config.Profiles----@field marks fzf-lua.config.Marks----@field changes fzf-lua.config.Changes----@field jumps fzf-lua.config.Jumps----@field tagstack fzf-lua.config.Tagstack----@field commands fzf-lua.config.Commands----@field autocmds fzf-lua.config.Autocmds----@field command_history fzf-lua.config.CommandHistory----@field search_history fzf-lua.config.SearchHistory----@field serverlist fzf-lua.config.Serverlist----@field registers fzf-lua.config.Registers----@field keymaps fzf-lua.config.Keymaps----@field nvim_options fzf-lua.config.NvimOptions----@field spell_suggest fzf-lua.config.SpellSuggest----@field filetypes fzf-lua.config.Filetypes----@field packadd fzf-lua.config.Packadd----@field menus fzf-lua.config.Menus----@field tmux fzf-lua.config.Tmux----@field dap fzf-lua.config.Dap----@field complete_path fzf-lua.config.CompletePath----@field complete_file fzf-lua.config.CompleteFile----@field zoxide fzf-lua.config.Zoxide----@field complete_line fzf-lua.config.CompleteLine----@field file_icon_padding string----@field dir_icon string----@field __HLS fzf-lua.config.HLS----@field [string] any-----@class fzf-lua.config.TreesitterWinopts----@field enabled boolean----@field fzf_colors? table<string, string>-----@class fzf-lua.config.PreviewOpts----@field default? string----@field border? any----@field wrap? boolean----@field hidden? boolean----@field vertical? string----@field horizontal? string----@field layout? string----@field flip_columns? integer----@field title? any----@field title_pos? "center"|"left"|"right"----@field scrollbar? string----@field scrolloff? integer----@field delay? integer----@field winopts fzf-lua.config.PreviewerWinopts-----@class fzf-lua.config.PreviewerWinopts----@field number? boolean----@field relativenumber? boolean----@field cursorline? boolean----@field cursorlineopt? string----@field cursorcolumn? boolean----@field signcolumn? string----@field list? boolean----@field foldenable? boolean----@field foldmethod? string----@field scrolloff? integer----@field winblend? integer-----@class fzf-lua.config.Keymap----@field builtin? table<string, string>----@field fzf? table<string, string>- ---@class fzf-lua.SpawnStdioOpts ---@field debug? boolean ---@field profiler? boolean@@ -206,7 +104,6 @@ _G.FzfLua = require("fzf-lua") ---a basic config can be used by fzf_exec? ---generated from the result of `:=FzfLua.config.normalize_opts({}, {})` ---@class fzf-lua.config.Base----@field cwd_prompt? boolean ---@field dir_icon? string ---@field enrich? fun(opts: fzf-lua.config.Resolved|{}):fzf-lua.config.Resolved|{} ---@field fzf_bin? string@@ -240,8 +137,6 @@ _G.FzfLua = require("fzf-lua") ---@field silent_fail? boolean ---@field rg_glob? boolean|integer ---@field headers? string[]----@field cwd_prompt_shorten_len integer?----@field cwd_prompt_shorten_val integer? ---@field header_prefix? string ---@field header_separator? string ---@field fn_selected function@@ -270,6 +165,8 @@ _G.FzfLua = require("fzf-lua") ---@field _ctag? string ---@field preview_pager? string ---@field toggle_flag? string+---@field _fzf_nth_devicons? boolean+---@field _headers? boolean  ---@class fzf-lua.config.Resolved: fzf-lua.config.Base ---@field PidObject? table

lua/fzf-lua/win.lua

@@ -123,24 +123,6 @@ end ---@field zindex integer ---@field __winhls { main: [string, string][], prev: [string, string][] } ----@class fzf-lua.config.Winopts: vim.api.keyset.win_config----@field height? number----@field width? number----@field row? number----@field col? number----@field preview fzf-lua.config.PreviewOpts----@field split? string|function|false----@field backdrop? number|boolean----@field fullscreen? boolean----@field treesitter? fzf-lua.config.TreesitterWinopts----@field on_create? fun(e: { winid?: integer, bufnr?: integer })----@field on_close? fun()----@field toggle_behavior? string----@field winblend? boolean----@field winhl? boolean----@field cursorline? boolean----@field __winhls? { main: [string, string?][], prev: [string, string?][] }- ---@class fzf-lua.Win ---@field winopts fzf-lua.config.WinoptsResolved ---@field actions fzf-lua.config.Actions|{}

scripts/gen_options.lua

new file mode 100644@@ -0,0 +1,207 @@+local obj = vim.system({ "sh", "-c", [[+  emmylua_doc_cli lua/fzf-lua/ --output-format json --output stdout+]] }):wait()++vim.opt.rtp:append(vim.fn.fnamemodify(debug.getinfo(1, "S").source:gsub("^@", ""), ":h:h:h:p"))+local defaults = require("fzf-lua.defaults").defaults++local res = vim.json.decode(obj.stdout or "")++local tymap = {}+local modmap = {}+vim.iter(res.types):each(function(ty)+  tymap[ty.name] = ty+end)+vim.iter(res.modules):each(function(mod)+  modmap[mod.name] = mod+end)++-- vim.print(vim.tbl_keys(modmap.defaults.file))+-- vim.print(modmap.defaults)++---@param target string+---@param child string+---@return boolean+local function is_ancestor(target, child)+  if child == target then return true end+  for _, base in ipairs(tymap[child].bases or {}) do+    if tymap[base] and tymap[base].name and is_ancestor(target, tymap[base].name) then+      return true+    end+  end+  return false+end++local function is_field_inherit(ty, field_name)+  for _, base in ipairs(ty.bases or {}) do+    local base_ty = tymap[base]+    if base_ty then+      for _, f in ipairs(base_ty.members or {}) do+        if f.name == field_name then+          return true+        end+      end+      if is_field_inherit(base_ty, field_name) then+        return true+      end+    end+  end+  return false+end++local function fix_typ(typ, default)+  if typ == "fzf-lua.profile" then+    assert(tymap[typ].name, "Type not found: " .. typ)+    return fix_typ(tymap[typ].typ, default)+  elseif typ:match("%(.*%)") then+    local ty = typ:sub(2, -2) -- remove parentheses+    local is = vim.iter(vim.split(ty, ",")):all(function(t)+      return t:match([[".-"]])+    end)+    if is then+      return "string[]", typ+    end+  end+  return typ, default+end++local normalize_classname = function(classname)+  return classname:gsub("^fzf%-lua%.config%.", ""):gsub("(%l)(%u)", "%1_%2"):lower()+end++local literal = function(v)+  if type(v) ~= "function" then+    return vim.inspect(v, { newline = "" })+  end+  local info = debug.getinfo(v)+  local file = info.source:sub(2)+  local lnum = info.linedefined+  local end_lnum = info.lastlinedefined+  if lnum > 50000 then return end+  local cnt = 1+  for line in io.lines(file) do+    if cnt >= lnum and cnt <= end_lnum then+      if line:match("^%s*return%s+") then+        return "return " .. line:match("^%s*return%s+(.+)%s*$")+      end+      -- return 'eeeeeeeeeeeeeeeee'+    end+    if cnt > end_lnum then break end+    cnt = cnt + 1+  end+  return ("<function %s:%d>"):format(info.short_src, lnum)+end++local alias = {+  __HLS = "hls",+}++local done = {}++local globals = {+  winopts = true,+  keymap = true,+  actions = true,+}++local make_desc = function(norm, member)+  if type(member.description) == "string" then+    return member.description+  end+  if norm:match("globals.hls.fzf.%w+$") then+  end+end++local concat = function(x, sep)+  local function flatten(y)+    local ret = {}+    for k, v in pairs(y) do+      assert(type(k) == "number", "Expected array-like table")+      if type(v) == "table" then+        vim.list_extend(ret, flatten(v))+      elseif type(v) == "string" then+        ret[#ret + 1] = v+      end+    end+    return ret+  end+  if not x then return "" end+  return table.concat(flatten(x), sep or "\n") .. "\n"+end++local function _member_to_markdown(classname, member, rec)+  local name = alias[member.name] or member.name or "Unknown"+  local typ = member.typ+      or (member.returns and member.returns[1] and member.returns[1].typ)+      or "Unknown"+  local norm = ("%s.%s"):format(normalize_classname(classname), name)+  local default = type(member.literal) == "string" and member.literal or+      literal(vim.tbl_get(defaults, select(2, unpack(vim.split(norm, "%.")))))+  typ, default = fix_typ(typ, default)+  if done[norm] or name:match("^_") or name == "[string]" then return end+  done[norm] = true+  local subclass = tymap[typ] or tymap[typ:match(".*%?")]+  if rec and subclass and subclass.members and #subclass.members > 0 then+    return vim.iter(subclass.members):map(function(sub_member)+      return _member_to_markdown(norm, sub_member, rec + 1)+    end):totable()+  end+  local out = {}+  out[#out + 1] = ("##### %s"):format(norm)+  out[#out + 1] = ""+  out[#out + 1] = ("Type: `%s`, Default: `%s`"):format(typ, default)+  out[#out + 1] = ""+  local desc = make_desc(norm, member)+  if type(desc) == "string" then+    out[#out + 1] = desc+    out[#out + 1] = ""+  end+  return out+end++local member_to_markdown = function(...)+  return concat(_member_to_markdown(...))+end++if _G.arg[1] == "Defaults" then+  local ty = assert(tymap["fzf-lua.config.Defaults"])+  vim.iter(ty.members)+      :each(function(member)+        if (member.name:match("^_")+              and not member.name:match("__HLS"))+            or ((defaults[normalize_classname(member.typ:match("fzf%-lua%.config%.(.*)") or "")]+                or defaults[normalize_classname(member.typ:match("fzf%-lua%.config%.(.-)Base") or "")])+              and not globals[normalize_classname(member.typ:match("fzf%-lua%.config%.(.*)") or "")])+        then+          return+        end+        vim.print(member_to_markdown("globals", member, 1))+      end)+  return+end++-- non global+local ancestor = "fzf-lua.config.Base"+vim.iter(vim.spairs(tymap)):each(function(_, ty)+  -- vim.print(is_ancestor(ancestor, ty.name), ty.bases)+  if not ty.name:match("fzf%-lua%.config%.")+      or ty.name == "fzf-lua.config.Base"+      or ty.name == "fzf-lua.config.Resolved"+      or ty.name == "fzf-lua.config.Defaults"+      or not is_ancestor(ancestor, ty.name)+  then+    return+  end++  if _G.arg[1] and not ty.name:lower():match(_G.arg[1]) then+    return+  end++  vim.iter(ty.members)+      :filter(function(member) return not is_field_inherit(ty, member.name) end)+      :each(function(member)+        if member.name:match("^_") or ((member.typ and member.typ:match("fzf%-lua%.config%."))) then return end+        vim.print(member_to_markdown(ty.name, member))+      end)+end)+-- vim.print(res.types[1])

tests/screenshots/tests-api_spec.lua---api---fzf_exec---rg---1-+-args-{-1-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭─────────────────────────────────────────────────╮      -04|~      │>                                          88/88 │      +04|~      │>                                          89/89 │       05|~      │──────────────────────────────────────────────── │       06|~      │▌ LICENSE                                       ││       07|~      │  Makefile                                      ││      

tests/screenshots/tests-api_spec.lua---api---fzf_exec---rg---1-+-args-{-false-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭─────────────────────────────────────────────────╮      -04|~      │>                                          89/89 │      +04|~      │>                                          90/90 │       05|~      │──────────────────────────────────────────────── │       06|~      │▌ [DEBUG] [st] rg --files -g !.git -g !tests/*··││       07|~      │  LICENSE                                       ││      

tests/screenshots/tests-api_spec.lua---api---fzf_exec---rg---1-+-args-{-true-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭─────────────────────────────────────────────────╮      -04|~      │>                                          89/89 │      +04|~      │>                                          90/90 │       05|~      │──────────────────────────────────────────────── │       06|~      │▌ [DEBUG] [mt] rg --files -g !.git -g !tests/*··││       07|~      │  LICENSE                                       ││      

tests/screenshots/tests-files_spec.lua---files---close-abort---1-+-args-{-'-c-c-'-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭───────────────────── Files ─────────────────────╮      -04|~      │>                                      89/89 (0) │      +04|~      │>                                      90/90 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │▌ [DEBUG] [mt] rg --files --sort=path -g !test··││       07|~      │  LICENSE                                       ││      

tests/screenshots/tests-files_spec.lua---files---close-abort---1-+-args-{-'-esc-'-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭───────────────────── Files ─────────────────────╮      -04|~      │>                                      89/89 (0) │      +04|~      │>                                      90/90 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │▌ [DEBUG] [mt] rg --files --sort=path -g !test··││       07|~      │  LICENSE                                       ││      

tests/screenshots/tests-files_spec.lua---files---executable---1-+-args-{-'fd'-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭─────────────────── Files  h ────────────────────╮      -04|~      │>                                    102/102 (0) │      +04|~      │>                                    103/103 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │▌ [DEBUG] [mt] fd --hidden --color=never --typ··││       07|~      │  .editorconfig                                 ││      

tests/screenshots/tests-files_spec.lua---files---executable---1-+-args-{-'find-dir'-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭───────────────────── Files ─────────────────────╮      -04|~      │>                                    102/102 (0) │      +04|~      │>                                    103/103 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │▌ [DEBUG] [mt] find . -type f \! -path '*/.git··││       07|~      │  .editorconfig                                 ││      

tests/screenshots/tests-files_spec.lua---files---executable---1-+-args-{-'rg'-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭─────────────────── Files  h ────────────────────╮      -04|~      │>                                    102/102 (0) │      +04|~      │>                                    103/103 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │▌ [DEBUG] [mt] rg --hidden --files -g "!.git" ··││       07|~      │  .editorconfig                                 ││      

tests/screenshots/tests-files_spec.lua---files---icons---defaults---1-+-args-{-'devicons',-'+attrs'-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭───────────────────── Files ─────────────────────╮      -04|~      │>                                      88/88 (0) │      +04|~      │>                                      89/89 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │▌  LICENSE                                     ││       07|~      │   Makefile                                    ││      

tests/screenshots/tests-files_spec.lua---files---icons---defaults---1-+-args-{-'devicons',-'-attrs'-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭───────────────────── Files ─────────────────────╮      -04|~      │>                                      88/88 (0) │      +04|~      │>                                      89/89 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │▌  LICENSE                                     ││       07|~      │   Makefile                                    ││      

tests/screenshots/tests-files_spec.lua---files---icons---defaults---1-+-args-{-'mini',-'+attrs'-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭───────────────────── Files ─────────────────────╮      -04|~      │>                                      88/88 (0) │      +04|~      │>                                      89/89 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │▌  LICENSE                                     ││       07|~      │  󱁤 Makefile                                    ││      

tests/screenshots/tests-files_spec.lua---files---icons---defaults---1-+-args-{-'mini',-'-attrs'-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭───────────────────── Files ─────────────────────╮      -04|~      │>                                      88/88 (0) │      +04|~      │>                                      89/89 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │▌  LICENSE                                     ││       07|~      │  󱁤 Makefile                                    ││      

tests/screenshots/tests-files_spec.lua---files---multiprocess---1-+-args-{-false-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭───────────────────── Files ─────────────────────╮      -04|~      │>                                      89/89 (0) │      +04|~      │>                                      90/90 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │▌ [DEBUG] [st] rg --files --sort=path           ││       07|~      │  LICENSE                                       ││      

tests/screenshots/tests-files_spec.lua---files---multiprocess---1-+-args-{-true-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭───────────────────── Files ─────────────────────╮      -04|~      │>                                      89/89 (0) │      +04|~      │>                                      90/90 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │▌ [DEBUG] [mt] rg --files --sort=path           ││       07|~      │  LICENSE                                       ││      

tests/screenshots/tests-files_spec.lua---files---preview-should-work-after-chdir-#1864

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭───────────────────── Files ─────────────────────╮      -04|~      │>                                      88/88 (0) │      +04|~      │>                                      89/89 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │  LICENSE                                       ││       07|~      │▌ Makefile                                       │      

tests/screenshots/tests-files_spec.lua---files---previewer---builtin---1-+-args-{-false,-'builtin'-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭───────────────────── Files ─────────────────────╮      -04|~      │>                                      89/89 (0) │      +04|~      │>                                      90/90 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │  [DEBUG] [mt] rg --files --sort=path -g !test··││       07|~      │▌ LICENSE                                        │      

tests/screenshots/tests-files_spec.lua---files---previewer---builtin---1-+-args-{-false,-'ci'-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭───────────────────── Files ─────────────────────╮      -04|~      │>                                      89/89 (0) │      +04|~      │>                                      90/90 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │  [DEBUG] [mt] rg --files --sort=path -g !test··││       07|~      │▌ LICENSE                                        │      

tests/screenshots/tests-files_spec.lua---files---previewer---builtin---1-+-args-{-true,-'builtin'-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭───────────────────── Files ─────────────────────╮      -04|~      │>                                      89/89 (0) │      +04|~      │>                                      90/90 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │  [DEBUG] [mt] rg --files --sort=path -g !test··││       07|~      │▌  LICENSE                                      │      

tests/screenshots/tests-files_spec.lua---files---previewer---builtin---1-+-args-{-true,-'ci'-}

@@ -2,7 +2,7 @@ 01|                                                                 02|~                                                                03|~      ╭───────────────────── Files ─────────────────────╮      -04|~      │>                                      89/89 (0) │      +04|~      │>                                      90/90 (0) │       05|~      │──────────────────────────────────────────────── │       06|~      │  [DEBUG] [mt] rg --files --sort=path -g !test··││       07|~      │▌  LICENSE                                      │      

tests/screenshots/tests-headless_spec.lua---headless---file_icons---devicons---manual---1-+-args-{-false-}

@@ -2,14 +2,14 @@ 01| cli.lua                                                         02| devicons.lua                                                    03| fzf-lua-scm-1.rockspec                                         -04| headless_fd.sh                                                 -05| init.lua                                                       -06| make_cli.lua                                                   -07| mini.sh                                                        -08| minimal_init.lua                                               -09|                                                                -10|[Process exited 0]                                              -11|                                                                +04| gen_options.lua                                                +05| headless_fd.sh                                                 +06| init.lua                                                       +07| make_cli.lua                                                   +08| mini.sh                                                        +09| minimal_init.lua                                               +10|                                                                +11|[Process exited 0]                                               12|                                                                 13|                                                                 14|                                                                

tests/screenshots/tests-headless_spec.lua---headless---file_icons---devicons---manual---1-+-args-{-true-}

@@ -2,14 +2,14 @@ 01| cli.lua                                                        02| devicons.lua                                                   03| fzf-lua-scm-1.rockspec                                        -04| headless_fd.sh                                                -05| init.lua                                                      -06| make_cli.lua                                                  -07| mini.sh                                                       -08| minimal_init.lua                                              -09|                                                                -10|[Process exited 0]                                              -11|                                                                +04| gen_options.lua                                               +05| headless_fd.sh                                                +06| init.lua                                                      +07| make_cli.lua                                                  +08| mini.sh                                                       +09| minimal_init.lua                                              +10|                                                                +11|[Process exited 0]                                               12|                                                                 13|                                                                 14|                                                                @@ -32,12 +32,12 @@ 01|0111111111111111111111111111111111111111111111111111111111111111 02|0111111111111111111111111111111111111111111111111111111111111111 03|2111111111111111111111111111111111111111111111111111111111111111-04|3111111111111111111111111111111111111111111111111111111111111111-05|0111111111111111111111111111111111111111111111111111111111111111+04|0111111111111111111111111111111111111111111111111111111111111111+05|3111111111111111111111111111111111111111111111111111111111111111 06|0111111111111111111111111111111111111111111111111111111111111111-07|3111111111111111111111111111111111111111111111111111111111111111-08|0111111111111111111111111111111111111111111111111111111111111111-09|1111111111111111111111111111111111111111111111111111111111111111+07|0111111111111111111111111111111111111111111111111111111111111111+08|3111111111111111111111111111111111111111111111111111111111111111+09|0111111111111111111111111111111111111111111111111111111111111111 10|1111111111111111111111111111111111111111111111111111111111111111 11|1111111111111111111111111111111111111111111111111111111111111111 12|1111111111111111111111111111111111111111111111111111111111111111

tests/screenshots/tests-headless_spec.lua---headless---file_icons---server---1-+-args-{-'devicons'-}

@@ -2,14 +2,14 @@ 01| cli.lua                                                                        02| devicons.lua                                                                   03| fzf-lua-scm-1.rockspec                                                        -04| headless_fd.sh                                                                -05| init.lua                                                                      -06| make_cli.lua                                                                  -07| mini.sh                                                                       -08| minimal_init.lua                                                              -09|                                                                                -10|[Process exited 0]                                                              -11|                                                                                +04| gen_options.lua                                                               +05| headless_fd.sh                                                                +06| init.lua                                                                      +07| make_cli.lua                                                                  +08| mini.sh                                                                       +09| minimal_init.lua                                                              +10|                                                                                +11|[Process exited 0]                                                               12|                                                                                 13|                                                                                 14|                                                                                @@ -28,12 +28,12 @@ 01|01111111111111111111111111111111111111111111111111111111111111111111111111111111 02|01111111111111111111111111111111111111111111111111111111111111111111111111111111 03|21111111111111111111111111111111111111111111111111111111111111111111111111111111-04|31111111111111111111111111111111111111111111111111111111111111111111111111111111-05|01111111111111111111111111111111111111111111111111111111111111111111111111111111+04|01111111111111111111111111111111111111111111111111111111111111111111111111111111+05|31111111111111111111111111111111111111111111111111111111111111111111111111111111 06|01111111111111111111111111111111111111111111111111111111111111111111111111111111-07|31111111111111111111111111111111111111111111111111111111111111111111111111111111-08|01111111111111111111111111111111111111111111111111111111111111111111111111111111-09|11111111111111111111111111111111111111111111111111111111111111111111111111111111+07|01111111111111111111111111111111111111111111111111111111111111111111111111111111+08|31111111111111111111111111111111111111111111111111111111111111111111111111111111+09|01111111111111111111111111111111111111111111111111111111111111111111111111111111 10|11111111111111111111111111111111111111111111111111111111111111111111111111111111 11|11111111111111111111111111111111111111111111111111111111111111111111111111111111 12|11111111111111111111111111111111111111111111111111111111111111111111111111111111

tests/screenshots/tests-headless_spec.lua---headless---file_icons---server---1-+-args-{-'mini'-}

@@ -2,14 +2,14 @@ 01|󰢱 cli.lua                                                                        02|󰢱 devicons.lua                                                                   03|󰢱 fzf-lua-scm-1.rockspec                                                        -04| headless_fd.sh                                                                -05| init.lua                                                                      -06|󰢱 make_cli.lua                                                                  -07| mini.sh                                                                       -08|󰢱 minimal_init.lua                                                              -09|                                                                                -10|[Process exited 0]                                                              -11|                                                                                +04|󰢱 gen_options.lua                                                               +05| headless_fd.sh                                                                +06| init.lua                                                                      +07|󰢱 make_cli.lua                                                                  +08| mini.sh                                                                       +09|󰢱 minimal_init.lua                                                              +10|                                                                                +11|[Process exited 0]                                                               12|                                                                                 13|                                                                                 14|                                                                                @@ -28,12 +28,12 @@ 01|01111111111111111111111111111111111111111111111111111111111111111111111111111111 02|01111111111111111111111111111111111111111111111111111111111111111111111111111111 03|01111111111111111111111111111111111111111111111111111111111111111111111111111111-04|11111111111111111111111111111111111111111111111111111111111111111111111111111111-05|21111111111111111111111111111111111111111111111111111111111111111111111111111111-06|01111111111111111111111111111111111111111111111111111111111111111111111111111111-07|11111111111111111111111111111111111111111111111111111111111111111111111111111111-08|01111111111111111111111111111111111111111111111111111111111111111111111111111111-09|11111111111111111111111111111111111111111111111111111111111111111111111111111111+04|01111111111111111111111111111111111111111111111111111111111111111111111111111111+05|11111111111111111111111111111111111111111111111111111111111111111111111111111111+06|21111111111111111111111111111111111111111111111111111111111111111111111111111111+07|01111111111111111111111111111111111111111111111111111111111111111111111111111111+08|11111111111111111111111111111111111111111111111111111111111111111111111111111111+09|01111111111111111111111111111111111111111111111111111111111111111111111111111111 10|11111111111111111111111111111111111111111111111111111111111111111111111111111111 11|11111111111111111111111111111111111111111111111111111111111111111111111111111111 12|11111111111111111111111111111111111111111111111111111111111111111111111111111111