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
pull/6329/head
Alexander Brevig 2 years ago committed by GitHub
parent 35bf54d0b2
commit 583f6a1337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,6 +36,8 @@ fn get_rules() -> Vec<Require> {
Require::Difference("ui.statusline.normal", "ui.statusline.select"), Require::Difference("ui.statusline.normal", "ui.statusline.select"),
// Check for editor.cursorline // Check for editor.cursorline
Require::Existence(Rule::has_bg("ui.cursorline.primary")), 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 // Check for editor.whitespace
Require::Existence(Rule::has_fg("ui.virtual.whitespace")), Require::Existence(Rule::has_fg("ui.virtual.whitespace")),
// Check fir rulers // Check fir rulers

Loading…
Cancel
Save