Bug: fzf extension shows 'nil' instead of selected element on split pickers
trevarj opened this issue · comments
Trevor Arjeski commented
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
- I'm using the latest lualine.
- 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()
.