mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-21 17:06:18 +04:00
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
@ -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 New Issue
Block a user