-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Try fixing lsp display error #12
base: master
Are you sure you want to change the base?
Conversation
Sorry, I think this patch still has error in there. Let me pause and think for a better method to resolve this issue! Sorry to ping you on this! |
I don't know that it's better to use the Did you have a problem on the other branch still? Can you show me a repro? |
I think when you have one And I am not sure why this happens on my machine, I think it is because I have my own Anyway, I just need |
Does it fail on everything for you? I wonder if you could provide an example code that's failing and instructions. In terms of using FWIW, I don't think it's just |
Some fail and some don't. I think example code would not help because it fails in general behaviour. 😕
That was my first thought too! But in fact, when I tested
hmmm, Cool! I didn't notice this until now. But as I said, if we don't use |
What do you mean by this? I'm not sure what configing commands means.
What am I looking for on the docs page? |
I just tested this out, it does not capture the change if I insert a letter and then hit backspace to delete what I just inserted. The matching tag only gets the newly inserted letter and does not get the deletion. |
Oh, I mean I have a lot configuration while I am editing buffer (coding).
I have the link to just inform the differences between
Let me explain it this way, if I have a command that delete 5 letters at a time. |
Okay, so I think you're saying that if you have a command that makes 5 separate changes you'd see:
And in that case, just taking the last before's idea of what the pre tag is won't work. That makes sense. So a compound command (that issues multiple separate changes) would be broken. Okay, so I think that leads us to either the method I switched to in #11, or a method of remembering what changes need to be made and then making them all at once in post. So:
I don't know how easy that would be to implement, and it seems like there would be some edge cases, but that may be the most robust method. |
as title.
@aaronjensen Can you test this branch and see if this works for you!?
I have changed to use
pre
/post
command hook instead ofbefore
/after
change hook. And this kind of solve the issue as I mentioned it in #11.