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: lint for ui.virtual and catch present and future virtual based features #6320

Merged
merged 2 commits into from Mar 15, 2023

Conversation

AlexanderBrevig
Copy link
Contributor

@AlexanderBrevig AlexanderBrevig commented Mar 14, 2023

Since #5934 closed #2070 I think the linter should check for these.

Maybe it's about time that we run the linter against PRs with changes to /runtime/themes?

EDIT: this now lints for ui.virtual as a catch all for present and future virtual text.

Copy link
Member

@archseer archseer left a comment

Choose a reason for hiding this comment

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

But both of these are optional! I only intend to use ui.virtual on the default theme.

@AlexanderBrevig
Copy link
Contributor Author

But both of these are optional! I only intend to use ui.virtual on the default theme.

Maybe you're right that this setting will not feel broken given the existence of a virtual key.

I'm just trying to help make the feeling of helix (and especially changing themes) a bit less broken.

I'll check as soon as I get on my computer today and close this if setting inlay-hints simply works across the board. I should've checked...

Thanks

@AlexanderBrevig
Copy link
Contributor Author

I agree. The themes that look off/wrong are all missing ui.virtual catch all, so this now lints against that instead.

@AlexanderBrevig AlexanderBrevig changed the title feat: lint for inlay-hint.parameter and .type feat: lint for ui.virtual and catch present and future virtual based features Mar 15, 2023
@archseer archseer merged commit 583f6a1 into helix-editor:master Mar 15, 2023
6 checks passed
sagnibak pushed a commit to sagnibak/helix that referenced this pull request Mar 21, 2023
…d features (helix-editor#6320)

* feat: lint for inlay-hint.parameter and .type

* fix: lint against ui.virtual and not the new inlay-hint specifically
icecreammatt pushed a commit to icecreammatt/helix that referenced this pull request Apr 19, 2023
…d features (helix-editor#6320)

* feat: lint for inlay-hint.parameter and .type

* fix: lint against ui.virtual and not the new inlay-hint specifically
wes-adams pushed a commit to wes-adams/helix that referenced this pull request Jul 4, 2023
…d features (helix-editor#6320)

* feat: lint for inlay-hint.parameter and .type

* fix: lint against ui.virtual and not the new inlay-hint specifically
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 Type Hints
2 participants