diff options
author | Alexander Brevig | 2023-03-15 14:17:00 +0000 |
---|---|---|
committer | GitHub | 2023-03-15 14:17:00 +0000 |
commit | 583f6a1337590e0f55d7a3bbf8a79fa65202df65 (patch) | |
tree | a43d96c72015b40fadf3fbc5659728a20f7e4b16 /xtask | |
parent | 35bf54d0b2fa1381d99f4be6c254e0c1f5d306cc (diff) |
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
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/themelint.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xtask/src/themelint.rs b/xtask/src/themelint.rs index 2a5ef4b7..f7efb7d9 100644 --- a/xtask/src/themelint.rs +++ b/xtask/src/themelint.rs @@ -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 |