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

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

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 <[email protected]>
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
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: Stop server templating files that are no longer Rego
2 participants