RTFM Checklist
Operating system
Linux
Shell
bash
Neovim version (nvim --version)
NVIM v0.11.6 Build type: Release LuaJIT 2.1.1741730670
Fzf version (fzf --version)
0.63.0 (397fe8e3)
Output of :lua print(os.getenv('FZF_DEFAULT_OPTS'))
nil
Is the problem reproducible with mini.sh?
Fzf-lua configuration
Describe the bug / steps to reproduce
The changes added in 1f3e985 introduced a bug. I cannot execute :FzfLua without first executing :FzfLua files or some other command.
I get
E5108: Error executing lua: ...ce/.local/share/nvim/lazy/fzf-lua/lua/fzf-lua/config.lua:987: attempt to co
ncatenate a nil value
stack traceback:
...ce/.local/share/nvim/lazy/fzf-lua/lua/fzf-lua/config.lua:987: in function 'normalize_opts'
...ence/.local/share/nvim/lazy/fzf-lua/lua/fzf-lua/init.lua:453: in function <...ence/.local/share
/nvim/lazy/fzf-lua/lua/fzf-lua/init.lua:452>
I have not fully dug into what this change is supposed to do but I can verify that utils.get_info().cmd returns with nil and the concatenation fails afterward. Adding a nil check before the line or just applying tostring to utils.get_info().cmd solved it for me.
RTFM Checklist
man fzf/ I am well versed in shell fzfOperating system
Linux
Shell
bash
Neovim version (
nvim --version)NVIM v0.11.6 Build type: Release LuaJIT 2.1.1741730670
Fzf version (
fzf --version)0.63.0 (397fe8e3)
Output of
:lua print(os.getenv('FZF_DEFAULT_OPTS'))nil
Is the problem reproducible with
mini.sh?mini.shmini.shmini.sh(not relevant, requires LSP, Windows, etc)Fzf-lua configuration
Describe the bug / steps to reproduce
The changes added in
1f3e985introduced a bug. I cannot execute:FzfLuawithout first executing:FzfLua filesor some other command.I get
I have not fully dug into what this change is supposed to do but I can verify that
utils.get_info().cmdreturns with nil and the concatenation fails afterward. Adding a nil check before the line or just applying tostring toutils.get_info().cmdsolved it for me.