In the code for the fzf extension, there was a section added to lualine to show the current selected element. This only works for "floating" fzf pickers and not "split" pickers.
Self Checks
[x] I'm using the latest lualine.
[x] I didn't find the issue in existing issues or PRs.
How to reproduce the problem
Install fzf plugin
Enable fzf extension for lualine
Open a SPLIT fzf picker and notice the lualine on the bottom has section y as nil
Expected behaviour
This section should not show 'nil' on fzf split pickers
Actual behaviour
The section shows 'nil' because of this line, where "selected" is no longer in the table returned by get_info().
In the code for the fzf extension, there was a section added to lualine to show the current selected element. This only works for "floating" fzf pickers and not "split" pickers.
Self Checks
How to reproduce the problem
Expected behaviour
This section should not show 'nil' on fzf split pickers
Actual behaviour
The section shows 'nil' because of this line, where "selected" is no longer in the table returned by
get_info()
.