Skip to content

key not found error when switching tabs #202

@nilsbecker

Description

@nilsbecker

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions