Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid reset of _win_cache for statuslines #63

Closed
jonatan-branting opened this issue Sep 22, 2022 · 1 comment · Fixed by #157
Closed

Invalid reset of _win_cache for statuslines #63

jonatan-branting opened this issue Sep 22, 2022 · 1 comment · Fixed by #157

Comments

@jonatan-branting
Copy link

Due to a typo in the code, the _win_cache attribute is not properly reset if update is a function.

self._win_cahe = nil

(note the win_cahe spelling!)

This (unsurprisingly) causes update to not function at all if it is a function.

@rebelot
Copy link
Owner

rebelot commented Sep 22, 2022

Thanks a lot for debugging this, sorry for the inconvenience. Fixing ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants