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
This commit is contained in:
parent
35bf54d0b2
commit
583f6a1337
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue