Skip to content

[audit] fff.nvim: remove debug/score-display flags from production config - #174

Merged
stanfish06 merged 1 commit into
masterfrom
audit/fff-debug-mode
Jun 10, 2026
Merged

stanfish06 merged 1 commit into
masterfrom
audit/fff-debug-mode

Conversation

@stanfish06

Copy link
Copy Markdown
Owner

What

Removes debug.enabled = true and show_scores = true from the vim.g.fff config table in lua/config/plugin_config.lua.

Where

lua/config/plugin_config.lua:178–184 (before this PR):

vim.g.fff = {
    lazy_sync = true,
    debug = {
        enabled = true,
        show_scores = true,
    },
}

After:

vim.g.fff = {
    lazy_sync = true,
}

Why it matters

  • debug.enabled = true enables verbose logging from the fff.nvim Rust binary, writing extra output that is not useful in normal use.
  • show_scores = true annotates every search result with its fuzzy-match score, cluttering the picker UI during daily file/grep navigation.
  • These appear to be development leftovers; there is no comment indicating they are intentional.

Test plan

  • Open <leader>ff — confirm no score annotations appear next to filenames
  • Open <leader>fg — confirm grep results are clean
  • Confirm no Rust panic or unexpected fff warnings in :messages

Generated by Claude Code

vim.g.fff had debug.enabled=true and show_scores=true which were
left over from development. These cause extra log noise and score
annotations during fuzzy searches that are not useful in daily use.

https://claude.ai/code/session_01WfHniedWQBWikXmdJFVwur
@stanfish06
stanfish06 merged commit fb16c9c into master Jun 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants