nvim-lualine / lualine.nvim

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

Bug: Flickering mode when adding new lines #852

Open jones-sam opened 1 year ago

jones-sam commented 1 year ago

Self Checks

How to reproduce the problem

Create new lines in insert mode

Expected behaviour

Create the new line without the mode flickering to command mode.

Actual behaviour

When adding new lines in insert mode, the mode in lualine will flicker to command mode and back to insert. It isn't consistent, sometimes it will flicker other times it won't.

asciinema.org/a/524485

Minimal config to reproduce the issue

Default config

Aditional information

version

NVIM v0.8.0-dev-1193-ge8ff43292-dirty                                                                                             
Build type: Release                                                                                                               
LuaJIT 2.1.0-beta3                   
fitrh commented 1 year ago

Maybe related to https://github.com/neovim/neovim/pull/20582