Closed LunarLambda closed 5 years ago
yes something triggers a redraw. I don't know what.
relevant information: https://github.com/vim-airline/vim-airline/issues/1807#issuecomment-432029307
can you check if the old commit 13993d120e3e8a44fb8bc22b9 fixes it?
Sure, need to get unstuck from traffic hell first tho :p
It does fix it. Also: The bug doesn't happen (on master) when running neovim in tmux, wat
please check latest head 33a6337, ping @ZurrTum
Works
I have the same problem but it's not fixed.... everything is up to date.
please be precise. What versions are you using?
neovim: NVIM v0.3.1-1-g489d32f
airline latest update: commit a334a89e5928af9650347b5ddcfae2d75b59325a (HEAD -> master, origin/master, origin/HEAD) Date: Thu Nov 8 07:54:01 2018 +0100
does not happen in vim8.1
just to be on the safe side, what does your nvim say about :echo exists('*timer_start') && exists('*funcref')
a resounding 1
okay, good. So when does the intro message vanish? right after startup or more like 5 seconds afterwards? BTW: what terminal are you using? How about tmux?
it disappears as soon as I launch nvim, so quickly I can't even see it. it does not seem to be tmux related as it happens both inside and outside tmux
so it is not the focusgained autocommand. Now we need to find out, what triggers the redraw for you. Did this work previously? Can you bisect which commit broke it? Can you try in a different terminal?
alright, this is odd.... the problem is not airline itself.... it's airline + neomake, removing one of the two fixes the issue. I checked out airline commits of the last couple months before bisecting other plugins and found this conflict with neomake, tried to checkout neomake latest commits but I couldn't find the culprit
is neomake running on startup? That could trigger a redraw. Question is, why should neomake run on startup? ping @blueyed
Depends on the config I guess.
@rebelot How do you configure Neomake?
@blueyed
Plug 'neomake/neomake'
that's it.
@rebelot
Then configure let g:neomake_logfile = '/tmp/neomake.log'
and check if it is doing something.
Also try if putting finish
at the top of plugin/neomake.vim
helps.
Also try vim -V9
maybe.
No further ideas though.
Might also be a Neovim issue, since it works with Vim for you?!
it works on vim indeed. neomake.log is not even written at startup (I have to issue a neomake command for the file to be created)
the really fun thing is that this happens only with neomake and airline together.
EDIT:
setting let g:airline#extensions#neomake#enabled = 0
fixes the issue.
Was about to ask that. So it appears related to be to the integration code that airline ships.
@rebelot
You might try if finish
ing here unconditionally fixes it: https://github.com/blueyed/vim-airline/blob/8c36d2b59544222238f40cf21ebe45a81258b465/autoload/airline/extensions/neomake.vim#L4-L6
If not, try to comment other stuff in there.
Intro still disapeared after CursorHold time, I think it's because the airline-whitespce
function.
It was enabling airline_skip_empty_sections
that was making this happen for me
The only plugin I have installed is airline, removing it fixes the issue. Interestingly, the intro screen disappears in Vim when running :redrawstatus, but not :redraw. This is likely to be related to that. I could disable the intro entirely but I'd like to keep it for novelty reasons.
environment
actual behavior
Intro immediately disappears (or doesn't show at all when no vimrc loaded)
expected behavior
[n]vim shows intro message on startup until input is received. (or the statusline is redrawn, see above)