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

Issue with filling snippets with words starting with capital S. #20

Open
hanetzer opened this issue Apr 21, 2022 · 1 comment
Open

Issue with filling snippets with words starting with capital S. #20

hanetzer opened this issue Apr 21, 2022 · 1 comment

Comments

@hanetzer
Copy link

I thought it was something I did (I tweaked it a bit) but same result with 2db902a unmodified.
if you start a snippet (c or cpp, maybe other files), and try to fill one of the placeholders with
a 'word' starting with an 'S' (capital s/shift-s), it will pop the following error at the bottom of the
window: E481: No range allowed

repro:
open test.c in nvim
start the for~ snippet
attempt to type S over size_t.

@hanetzer
Copy link
Author

Investigation shows that doing the same with a small 's' also fails, in a new way:
it inserts the characters ':HopChar2' into the insert buffer. conflict with lua/user/hop.lua

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