linrongbin16 / fzfx.nvim

A Neovim fuzzy finder that updates on every keystroke.
https://linrongbin16.github.io/fzfx.nvim/
MIT License
122 stars 5 forks source link

invalid key: fzf_opts #494

Closed savchenko closed 9 months ago

savchenko commented 9 months ago

Using the official config, --disabled flag is just to test if it works:

-- Hotkeys
vim.keymap.set(
  "n",
  "<C-f>",
  "<cmd>FzfxFiles<cr>",
  {
    silent = true, noremap = true, desc = "Search files",
    fzf_opts = { "--disabled" }
  }
),

As per documentation:

each commands group also has a 'fzf_opts' field that can overwrite this.

Am I missing something? Clearly, passing this as a parameter for vim.keymap.set() is a bad idea... What's the right way?

linrongbin16 commented 9 months ago

hi @savchenko, please refer to issue #495