-
Notifications
You must be signed in to change notification settings - Fork 2
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
Construct improvement #24
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: Shon Feder <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks!
It's a bit fiddly isn't it ?
Or just after the Also I would expect Merlin's recovery to use a typed hole in such situation, but I guess it gets a ghost location preventing it to be used by construct ? |
@voodoos |
I still find this a bit too hacky and specific, but there no real harm coming from it. Feel free to merge. |
What do you think about making it configurable? |
Hi @shonfeder After some experimentation and a bit of thought about the control, I think there are several undesirable behaviors (such as the fact that automatic hole insertion doesn't trigger a buffer change event), so I think it would be better to let the user implement his own additional logic at the personal configuration level rather than at the mode level (using, for example, the code you referenced in the issue). So I suggest closing this ticket, is that ok with you? (In any case, thank you very much for your suggestion and feedback!) |
It try to implement the behaviour described in #23