nvim-lualine / lualine.nvim

A blazing fast and easy to configure neovim statusline plugin written in pure lua.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: fzf extension shows 'nil' instead of selected element on split pickers

trevarj opened this issue · comments

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

  1. Install fzf plugin
  2. Enable fzf extension for lualine
  3. 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().