lambdalisue / vim-fern

🌿 General purpose asynchronous tree viewer written in Pure Vim script
MIT License
1.29k stars 49 forks source link

vim-airline buffer is flashing when opening fern #306

Closed luathn closed 3 years ago

luathn commented 3 years ago

I had this issue when open Fern: It's flashing airline buffer. Could you look at this? Thank you! vim-buffer-flashing

lambdalisue commented 3 years ago

I've no idea what you are talking about... Maybe you need to ask it on vim-airline instead?

luathn commented 3 years ago

@lambdalisue Thank you for your reply. You can look at my gif. A buffer is created and close very quickly. PS: I tested on lightline and did'nt see this bug. So maybe this is airline bug.

lambdalisue commented 3 years ago

I see. So it's like airline automatically close fern buffer, right?

It's prob a bug on airline side. Please close it once you've post an issue report on the airline side.

I totally mis-understood the situation. USER opens and close fern buffer.

luathn commented 3 years ago

You're right. Thank you for your support :100:

chrisbra commented 2 years ago

I think this happens, because Fern does set nobuflisted and therefore airline updates the highlighting group, since the current buffer is not visible in the tabline. I wouldn't call this a bug in airline.

lambdalisue commented 2 years ago

@chrisbra

Well, maybe I mis-understood the situation. I've no idea why you are talking about highlighting group...

My understanding is "when user open a fern buffer with airline, the fern buffer is open and closed quickly and peridodically somehow".

chrisbra commented 2 years ago

well, the issue title is about buffer flickering. So I suppose this is what is showing on the screen capture. the User repeatedly hitting a key, that triggers showing/disabling fern.vim. Which causes vim-airline to re-create some highlighting groups for the tabline, which cause a screen redraw, which make it flicker.

vim-airline is just a tabline/statusline plugin. It should never just open/close some buffer/window

lambdalisue commented 2 years ago

the User repeatedly hitting a key

Got it. That's what I mis-understood.

vim-airline is just a tabline/statusline plugin. It should never just open/close some buffer/window

That's why I thought it's a bug. Sorry for the misinterpretation.