Skip to content

error when moving past last item #191

Open
@nhooyr

Description

@nhooyr
  1. Open vim
  2. Type some newlines and put foo somwhere in between
  3. Go to the top
  4. Search for fo with sneak
  5. Try to go to the next one
  6. Error instead of silently doing nothing

Also, watch: https://asciinema.org/a/b6x9mq0ik4izpb83yx51vrb24

The full error is:

Error detected while processing function sneak#wrap[8]..sneak#to[118]..sneak#label#to[3]..<SNR>100_do_label:
line   48:
E716: Key not present in Dictionary: a
E15: Invalid expression: mappedtoNext ? s:matchmap[strpart(g:sneak#target_labels, 0, 1)] : s:matchmap[choice]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions