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

key not found error when switching tabs #202

Open
3 of 6 tasks
nilsbecker opened this issue Mar 17, 2025 · 0 comments
Open
3 of 6 tasks

key not found error when switching tabs #202

nilsbecker opened this issue Mar 17, 2025 · 0 comments

Comments

@nilsbecker
Copy link

Check list

  • I have read through the README (especially F.A.Q section)
  • I have searched through the existing issues

Environment info

  • OS
    • Linux
    • Mac OS X
    • Windows
    • Others:

Version info

VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Feb 21 2025 00:08:16)
macOS version - arm64
Included patches: 1-1128

Question / Problem and steps to reproduce

situation: 2 tabs open in macvim, possibly with split windows in each of them.

  • in tab 1, open minimap. use mouse to click on minimap to scroll
  • switch to tab 2, where no minimap is open.
  • switch back to tab 1 by mouse clicking on the tab line, where -MINIMAP- is displayed
  • observe errors:
Could not populate s:win_info, exiting
Error detected while processing CursorMoved Autocommands for "<buffer=3>"..function <SNR>164_handle_autocm
d[26]..<SNR>164_minimap_move:
line   11:
E716: Key not present in Dictionary: "mm_height"
Press ENTER or type command to continue
Error detected while processing CursorMoved Autocommands for "<buffer=3>"..function <SNR>164_handle_autocm
d[26]..<SNR>164_minimap_move:
line   11:
E116: Invalid arguments for function float2nr(1.0 * (curr-1) / s:win_info['mm_height'] * s:win_info['heigh
t']) + 2

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