You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Details
Report: #333
Caused by a recent change to neovim that moved when filetype is set to
after content being set: neovim/neovim#32112
To handle this add a call to `update` after attaching to a buffer for
the first time. This will trigger rendering without needing an event
(previously `BufWinEnter`) to get the initial view to work.
Other small changes:
- Add notes to self about highlight type definition changes in 0.11
- `get_parser` can return `nil` in 0.11 so add `nil` checks around these
- Check whether parsing is needed at both the time of scheduling our
render update and again when executing it since the state may have
changed between the 2 and we can potentially avoid the additional
overhead, similar concept to validating the buffer / window at both of
these times
0 commit comments