Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
_vimrc.plugins: disable airline for now
Seems like now I have tweaked the configuration to a minimal that serves no notable real function other than just a slightly more fresh good looking, yet the lag is just untolerable. Disable it for now until vim-airline/vim-airline#1779 is fixed
- Loading branch information
a983c7b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does whether ultisnips is enabled affect the lag caused by airline?
It does in my configuration. Could you please confirm?
vim-airline/vim-airline#1802 (comment)
a983c7b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@happycoder97 When the said issue in the commit message happened, ultisnips was already commented out. So it's unlikely that the lagness was caused by it. The said issue can be easily reproduced against airline.
a983c7b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note, you did use quite an old version of airline. There have been many enhancements made since then, also performance improvements.
a983c7b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@chrisbra Yeah, I just tried the latest master branch, I think the issue is still there.
Here is how I tried to reproduced the issue.
:echo g:airline#themes#{g:airline_theme}#palette
:echo g:airline#themes#{g:airline_theme}#palette
.The content just kept growing monotonically. Not sure whether this is the expected behavior but I am afraid it will degrade the performance gradually over a time span of editing.
a983c7b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw.
g:airline_theme
isdark
. And thank you for your time and efforts on this project. I really appreciate it.a983c7b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW: I could not reproduce your issue with a monotonic increasing palette. How do you reproduce this?
a983c7b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I observed the lag only gradually over several quite long sessions of coding. The above said reproduce steps were my possibly naive method of checking whether the palette dict was increasing its size unexpectedly.
I will enable airline again and if I can reproduce the issue, I will have the palette dict dump recorded. How do you think the dump will help with the debug?
a983c7b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, it would be interesting to see, what keys accumulate there that have not been there. Perhaps we can make a guess at why they have been added.