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

Doom: Column value outside range when resizing small windows sizes #461

Closed
polirritmico opened this issue Jun 11, 2024 · 1 comment
Closed

Comments

@polirritmico
Copy link
Contributor

Describe the bug
Sometimes working with small Neovim terminal windows and moving the cursor
raises this error:

Error detected while processing CursorMoved Autocommands for "<buffer=1>":
Error executing lua callback: ...ectos/Neovim/dashboard-nvim/lua/dashboard/theme/doom.lua:142: Column value outside range
stack traceback:
	[C]: in function 'nvim_win_set_cursor'
	...ectos/Neovim/dashboard-nvim/lua/dashboard/theme/doom.lua:142: in function <...ectos/Neovim/dashboard-nvim/lua/dashboard/theme/doom.lua:119>

To Reproduce

  1. In a small terminal window, the font and window size is key here. In the
    video font is at 15pt and 68 x 33 characters size.
  2. First open neovim and move the cursor.
  3. Move the cursor to an entry with a multirow character icon. Works fine
  4. Resize the window to a smaller size
  5. Resize the window back to the previous working size
  6. Move the cursor to the same entry. Raise the error.

Check the video:

simplescreenrecorder-2024-06-10_11.35.22.mp4
@polirritmico
Copy link
Contributor Author

Fix by #462

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

No branches or pull requests

1 participant