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

Rename only happens in post-command and recursion is prevented #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aaronjensen
Copy link
Contributor

Fixes #9

This may fix the issues you were seeing, it was possible for infinite recursion to happen which cause a stack error. This should prevent that.

@jcs090218
Copy link
Member

The major issue is when I try to delete the whole word, it wouldn't delete the tag (whole word). Would it delete the whole word on your side? Thanks!

@aaronjensen
Copy link
Contributor Author

It does for me, yes. Can you provide an example that does not currently work for you with this branch?

This may potentially cause very strange issues.
@aaronjensen
Copy link
Contributor Author

@jcs090218 give this a shot. It's quite possibly a very bad idea.

The other thing to try is to stash the changes we want to make somewhere during after-change and then apply them during the next post-command, which was the suggestion here: emacs-lsp/lsp-mode#1704 (comment)

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

Successfully merging this pull request may close these issues.

lsp-mode with flycheck doesn't work.
2 participants