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

feat(harper-ls): remove deleted file/s diagnostics #304

Merged
merged 5 commits into from
Jan 8, 2025

Conversation

mcecode
Copy link
Contributor

@mcecode mcecode commented Dec 5, 2024

I noticed that even after files are deleted, their diagnostics stay. This fixes that.

Copy link
Collaborator

@elijah-potter elijah-potter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've got a concern or two, but otherwise it looks great! Thanks for noticing the issue.

harper-ls/src/backend.rs Outdated Show resolved Hide resolved
@mcecode mcecode marked this pull request as draft December 6, 2024 16:17
@mcecode mcecode force-pushed the deleted-file-diagnostics branch from 760e004 to 8d4b0c5 Compare January 8, 2025 10:46
@mcecode
Copy link
Contributor Author

mcecode commented Jan 8, 2025

Took me a while to get back to this but I think it's ready. It now also picks up deletions that happen outside of the editor.

@mcecode mcecode marked this pull request as ready for review January 8, 2025 11:06
@elijah-potter elijah-potter merged commit c9d8c2f into Automattic:master Jan 8, 2025
4 checks passed
@mcecode mcecode deleted the deleted-file-diagnostics branch January 9, 2025 02:14
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.

2 participants