-
Notifications
You must be signed in to change notification settings - Fork 280
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
Allow colon :
for symbols in binding
of evil-ex-grammar
#1121
base: master
Are you sure you want to change the base?
Allow colon :
for symbols in binding
of evil-ex-grammar
#1121
Conversation
Just a friendly ping to merge this change. |
Sorry for the delay. Is there an example ex command where this is needed? |
I defined a number of custom |
35ddbe7
to
225a19c
Compare
225a19c
to
e9c89f0
Compare
e9c89f0
to
3742c88
Compare
But if you define them yourself then you can choose different names. The ex parser is somewhat fragile and I'm reluctant to change it just for that. I tried adding a test for this and as you can see it fails to parse properly. If you experience differently I'd like to see the command(s) you've added. |
I guess it's the colon in the first branch of the regexp that's greedily matching just the first colon of |
Apologies, I think you misunderstood that I meant custom |
It still doesn't work as expected.
Do you see other behaviour? |
Once again, you have to use |
Sorry. I misunderstood in which direction I was supposed to have misunderstood. Then my original comment stands: you can substitute the defuns with evil-ex-define-cmd in my previous comment and the behaviour is identical. |
I get
|
Okay. I rebased this branch on top of master, which also has #1203, so maybe that interferes (if you haven't updated the PR branch since). If not then I'm not sure why the difference. |
Right, since I was rather customizing the variable, I had the following
which works but is not what we want to release of course. Sorry. |
No description provided.