Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

lsp: ignore after rename if not Rego #1340

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

charlieegan3
Copy link
Member

There were two places where a file would be processed after a rename incorrectly:

  • inlay hints were still requests if the file wasn't rego
  • new files were still formatting if the file wasn't rego any more

Fixes #1092

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
There were two places where a file would be processed after a rename
incorrectly:

- inlay hints were still requests if the file wasn't rego
- new files were still formatting if the file wasn't rego any more

Fixes StyraInc#1092

Signed-off-by: Charlie Egan <charlie@styra.com>
Copy link
Member

@anderseknert anderseknert left a comment

Choose a reason for hiding this comment

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

Thanks!

@anderseknert anderseknert merged commit df90dec into StyraInc:main Jan 16, 2025
5 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

lsp: Stop server templating files that are no longer Rego
2 participants