on master help sign in
feat: lint for `ui.virtual` and catch present and future virtual based features (#6320)

* feat: lint for inlay-hint.parameter and .type * fix: lint against ui.virtual and not the new inlay-hint specifically

commit583f6a1337590e0f55d7a3bbf8a79fa65202df65 authorAlexander Brevig <alexanderbrevig@gmail.com> dateWed 15 Mar 2023, 15:17 (4 years ago) parent35bf54d
1 file changed+2
xtask/src/themelint.rs+2
xtask/src/themelint.rs+2
@@ -36,6 +36,8 @@ fn get_rules() -> Vec<Require> {
3636 Require::Difference("ui.statusline.normal", "ui.statusline.select"),
3737 // Check for editor.cursorline
3838 Require::Existence(Rule::has_bg("ui.cursorline.primary")),
39+ // Check for general ui.virtual (such as inlay-hint)
40+ Require::Existence(Rule::has_fg("ui.virtual")),
3941 // Check for editor.whitespace
4042 Require::Existence(Rule::has_fg("ui.virtual.whitespace")),
4143 // Check fir rulers