Skip to content

Commit

Permalink
feat: lint for ui.virtual and catch present and future virtual base…
Browse files Browse the repository at this point in the history
…d features (#6320)

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

* fix: lint against ui.virtual and not the new inlay-hint specifically
  • Loading branch information
AlexanderBrevig committed Mar 15, 2023
1 parent 35bf54d commit 583f6a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xtask/src/themelint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ fn get_rules() -> Vec<Require> {
Require::Difference("ui.statusline.normal", "ui.statusline.select"),
// Check for editor.cursorline
Require::Existence(Rule::has_bg("ui.cursorline.primary")),
// Check for general ui.virtual (such as inlay-hint)
Require::Existence(Rule::has_fg("ui.virtual")),
// Check for editor.whitespace
Require::Existence(Rule::has_fg("ui.virtual.whitespace")),
// Check fir rulers
Expand Down

0 comments on commit 583f6a1

Please sign in to comment.