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

Triggering Easymotion with unmodifiable buffer open breaks nvim #489

Open
Evilbits opened this issue Sep 30, 2022 · 0 comments
Open

Triggering Easymotion with unmodifiable buffer open breaks nvim #489

Evilbits opened this issue Sep 30, 2022 · 0 comments

Comments

@Evilbits
Copy link

Evilbits commented Sep 30, 2022

Desciption
Having an unmodifiable buffer, in this case Chadtree, open while triggering a search causes an exception to be thrown.

Error detected while processing function EasyMotion#OverwinF[4]..EasyMotion#overwin#move[1]..<SNR>185_move[2]..444[1]..445[10]..function EasyMotion#OverwinF[4]..EasyMotion#overwin#move[1]..<SNR>185_move[2]..444[1]..445[7]..448[20]..452[2]..458[26]..<SNR>185_throw:
line    1:
E605: Exception not caught: vital: HitAHint.Motion: function EasyMotion#OverwinF[4]..EasyMotion#overwin#move[1]..<SNR>185_move[2]..444[1]..445[7]..448[20]..452[2]..458[6]..454[3]..<SNR>185_setline, line 2 Vim(call):E21: Cannot make changes, 'modifiable' is off
Error detected while processing function EasyMotion#OverwinF:
line    4:
E171: Missing :endif

Is there a way to ignore a certain buffer from the search? That could resolve the issue.

How to reproduce

  1. Install Chadtree and vim-easymotion
  2. Open Chadtree buffer
  3. Trigger a search
  4. Search for any key that is highlighted within the unmodifiable window
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