nvim-lualine / lualine.nvim

A blazing fast and easy to configure neovim statusline plugin written in pure lua.
MIT License
5.93k stars 461 forks source link

Bug: During incsearch lualine shows *last* position instead of current #793

Open ces42 opened 2 years ago

ces42 commented 2 years ago

Self Checks

How to reproduce the problem

Open any file, press / and type one or two characters. Use <c-g> and <c-t> to move between search results. (`incsearch needs to be enabled for this)

Expected behaviour

lualine always shows the line/column number of the result the cursor is currently at

Actual behaviour

lualine shows the position of the last result the cursor war at

Minimal config to reproduce the issue

minimal `.vimrc` ``` call plug#begin() Plug 'nvim-lualine/lualine.nvim' call plug#end() require'lualine'.setup() ```

Aditional information

The bug does not happen with airline :version gives

NVIM v0.7.2
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by team+vim@tracker.debian.org

Features: +acl +iconv +tui

lualine version: latest master (e6680ea)

shadmansaleh commented 2 years ago

It's same as https://github.com/neovim/neovim/issues/19472

Because of that neovim just doesn't respect statusline being updated in command line mode.

ces42 commented 1 year ago

So https://github.com/neovim/neovim/issues/19472 has been fixed but I'm still having this bug. (it might have gone away for a while and reappeared?)