vim-easymotion
vim-easymotion copied to clipboard
Triggering Easymotion with unmodifiable buffer open breaks nvim
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
- Install Chadtree and vim-easymotion
- Open Chadtree buffer
- Trigger a search
- Search for any key that is highlighted within the unmodifiable window