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

Error opening menu on low resolution #124

Closed
ok-nick opened this issue Dec 23, 2022 · 4 comments · Fixed by #96
Closed

Error opening menu on low resolution #124

ok-nick opened this issue Dec 23, 2022 · 4 comments · Fixed by #96
Labels
bug Something isn't working

Comments

@ok-nick
Copy link

ok-nick commented Dec 23, 2022

MrvSu1MeKp
Error:

Error executing vim.schedule lua callback: ...ta/Local/nvim-data/lazy/lazy.nvim/lua/lazy/view/text.lua:89: col value outside range
stack traceback:
        [C]: in function 'nvim_buf_set_extmark'
        ...ta/Local/nvim-data/lazy/lazy.nvim/lua/lazy/view/text.lua:89: in function 'render'
        .../Local/nvim-data/lazy/lazy.nvim/lua/lazy/view/render.lua:73: in function 'update'
        ...ta/Local/nvim-data/lazy/lazy.nvim/lua/lazy/view/init.lua:129: in function <...ta/Local/nvim-data/lazy/lazy.nvim/lua/lazy/view/init.lua:126>
@ok-nick ok-nick added the bug Something isn't working label Dec 23, 2022
@folke
Copy link
Owner

folke commented Dec 23, 2022

can you update lazy and post the error message?

@ok-nick
Copy link
Author

ok-nick commented Dec 23, 2022

It's able to get smaller than before, but if it's too small it outputs this:

Failed to set extmark. Please report a bug with this info:
{
  line = { <1>{
      hl = {
        end_col = 57,
        hl_group = "Number"
      },
      str = ""
    }, {
      hl = "Comment",
      str = " (2 minutes ago)"
    } },
  segment = <table 1>
}

@folke folke closed this as completed in e973323 Dec 23, 2022
@folke
Copy link
Owner

folke commented Dec 23, 2022

Should be fixed now. Would be great if you can confirm

@ok-nick
Copy link
Author

ok-nick commented Dec 24, 2022

Works perfect 👍

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

Successfully merging a pull request may close this issue.

2 participants