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

Easy motion shows error when jumping to brackets and backslash #3685

Closed
nnkken opened this issue Apr 17, 2019 · 1 comment
Closed

Easy motion shows error when jumping to brackets and backslash #3685

nnkken opened this issue Apr 17, 2019 · 1 comment

Comments

@nnkken
Copy link

nnkken commented Apr 17, 2019

Describe the bug
When using easy motion, functions which allows jumping to specified symbols (e.g. <leader><leader>f, <leader><leader>s), some symbols (which have special meaning in regexp) are not supported and will generate error (about invalid regexp) when used.

When ()[?\ are used, error message are shown.

When $ is used, position marks are shown at incorrect position (end of line).

When ^ is used, the Vim plugin is stuck and not responding to any inputs.

To Reproduce
Steps to reproduce the behavior:

  1. turn easy motion on in settings
  2. suppose we have text (bracket) [square bracket] \backslash ?question_mark ^start $end
  3. input <leader><leader>f( or <leader><leader>f) or <leader><leader>f[ or <leader><leader>f\ or <leader><leader>f? or <leader><leader>f^ or <leader><leader>f$

Expected behavior
symbols are shown at the corresponding position, or jump to the symbols directly when there is no other matches

Screenshots
vscode-easy-motion

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.4.0
  • VSCode version: 1.33.1
  • OS: Windows 10 Pro 64-bit

Additional context
Add any other context about the problem here.

@J-Fields
Copy link
Member

J-Fields commented Aug 5, 2019

This was fixed with #3911

@J-Fields J-Fields closed this as completed Aug 5, 2019
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

2 participants