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

Bug: E315: ml_get: invalid lnum when using winbar #754

Closed
2 tasks done
lkhphuc opened this issue Jul 25, 2022 · 3 comments
Closed
2 tasks done

Bug: E315: ml_get: invalid lnum when using winbar #754

lkhphuc opened this issue Jul 25, 2022 · 3 comments
Labels
bug Something isn't working upstream

Comments

@lkhphuc
Copy link

lkhphuc commented Jul 25, 2022

Self Checks

  • I'm using the latest lualine.
  • I didn't find the issue in exsisting issues or prs.

How to reproduce the problem

  • Install packer and lualine
  • Enable winbar = {...} in setup.
  • Open nvim
  • Open a new buffer (:help ...) (OK)
  • Enter insert mode / move cursor around
  • Open a new buffer ( :help ... or floaterm ...)

Expected behaviour

No E315 error

Actual behaviour

  • A page of E315: ml_get: invalid lnum
    Screenshot 2022-07-25 at 12 34 17

Minimal config to reproduce the issue

Minimal config with just packer and lualine, on neovim nightly 0.8 (the past 3-4 days all has problems).

Aditional information

If winbar is disabled in setup winbar = {}, I don't get the error even if I have configured inactive_winbar = {...} . It's only happens with winbar.

The first commit that reproduce this problem for me is #736 but I don't have this problem during testing this branch before it was merged.

@lkhphuc lkhphuc added the bug Something isn't working label Jul 25, 2022
@lkhphuc
Copy link
Author

lkhphuc commented Jul 25, 2022

Oh I just found out about this neovim/neovim#19458 , somehow google doesn't found the latest issue but only show me old one.
Closing this to track over there.

@augustocdias
Copy link

Facing the same issue :(
When using winbar I can't execute PackerSync because of this error

Did anyone find a workaround?

@shadmansaleh
Copy link
Member

@augustocdias it's a bug in neovim wait for neovim/neovim#19458 to be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream
Projects
None yet
Development

No branches or pull requests

3 participants