Tags: dmtrKovalenko/fff
Tags
feat(ui): expose select.pre_select_hook to override window retargeting ( #578) * feat(ui): expose select.pre_select_hook for opening selected files Add a config-level escape hatch so users can override or disable the default 'retarget away from non-file buffer' behavior on <CR>. The default hook reproduces the prior logic (skip when current window has a special buftype, is non-modifiable, or has 'winfixbuf'). A no-op override restores telescope-style 'open in invoking window'. Refs #577. Picks up the design from #288. * refactor(ui): rename select.pre_select_hook to select_window, return winid Per maintainer feedback: nil return = open in invoking window, integer return = winid to switch to. Cleaner semantics than mutating current window via vim.api.nvim_set_current_win inside the hook. * fix(ui): capture select config before close, drop config shadow M.close() resets state.config to nil, so the deferred select_window hook crashed with "attempt to index local 'config' (a nil value)" — broke picker_dir_resolution_spec.lua. Capture config alongside other state before close. Also rename inner `config = conf.get()` to `cfg` to clear the luacheck shadowing warning that was failing CI lint. Apply README review suggestions from #578. --------- Co-authored-by: gustav-fff <286169375+gustav-fff@users.noreply.github.com>
feat(pi-fff): expose enableFsRootScanning flag (#588) (#589) * feat(pi-fff): expose enableHomeDirScanning / enableFsRootScanning (#588) Pipe the two FileFinder.create opt-ins through pi flags and env vars so pi-fff can be used when launched from $HOME or /. Without these, FFF refuses to init and the extension is unusable from those directories. - --fff-enable-home-scan / FFF_ENABLE_HOME_SCAN - --fff-enable-root-scan / FFF_ENABLE_ROOT_SCAN Closes #588 * feat(pi-fff): enable home dir scanning by default, drop opt-in flag Per maintainer feedback on PR #589: launching pi from $HOME is a normal flow; force enableHomeDirScanning=true and remove the --fff-enable-home-scan flag/env. Root scanning remains opt-in via --fff-enable-root-scan. * test(pi-fff): drop scanning opt-in flag tests --------- Co-authored-by: gustav-fff <286169375+gustav-fff@users.noreply.github.com>
docs: add Homebrew install for fff-mcp (#345) (#571) * docs: add Homebrew install for fff-mcp (#345) Document `brew install jellydn/tap/fff-mcp` as an alternative to the curl/PowerShell installers. Formula lives in jellydn/homebrew-tap and pulls prebuilt binaries from GitHub releases (v0.9.1). * ci: notify Homebrew tap on stable releases (#345) After a stable release, dispatch jellydn/homebrew-tap to regenerate fff-mcp.rb when HOMEBREW_TAP_DISPATCH_TOKEN is configured. Without the secret, the tap's scheduled workflow still picks up new versions. * ci: restrict Homebrew tap dispatch to dmtrKovalenko repo owner Require repository_owner == dmtrKovalenko and send FFF_RELEASE_BUMP_SECRET in dispatch payload for tap-side verification. * docs: fix MCP install copy after Homebrew section * fix(homebrew): move formula in-repo with release auto-bump (#571) Address maintainer review: stop hardcoding README version and external jellydn/homebrew-tap dependency. Formula/fff-mcp.rb is bumped on each stable release so brew upgrade picks up new versions. - Add Formula/fff-mcp.rb and scripts/bump-fff-mcp.sh (credit @jellydn) - Replace external tap dispatch with bump-homebrew-formula job - README: brew install dmtrKovalenko/fff/fff-mcp * fix(homebrew): use version DSL and #{version} URLs in formula Drop v = "x.y.z" and per-URL v0.9.1 literals. One version line plus RELEASE_BASE; download paths interpolate version at install time. CI bump script still sets version + sha256 from each release. * fix: Correct the CI to include correct checksums --------- Co-authored-by: Dmitriy Kovalenko <dmtr.kovalenko@outlook.com>
PreviousNext