From faf2b60e8ba5dd609e493f9886871cfaebd55ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Mon, 22 Jun 2026 20:15:51 +0200 Subject: [PATCH] fix: expand bat Nord theme scope coverage for consistency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - variable/variable.other/support.variable → #D8DEE9 (micro: identifier.var) - constant.other.boolean → #81A1C1 (YAML true/false, matches micro: constant.bool) - constant.other.symbol, support.constant → #B48EAD (Ruby symbols, built-in consts) - keyword.other.special-method → #88C0D0 (micro: identifier) - entity.other.attribute-name.id, punctuation.definition.entity → #81A1C1 - meta.selector → #D08770 (CSS selectors, micro: special) - keyword.other.unit generalized (drop css-only constant.numeric.css) - entity.name.label → #81A1C1 (tag color) - invalid.broken, invalid.unimplemented → #BF616A (micro: error) - constant.other.color → #8FBCBB (hex color literals) - meta.separator → #4C566A (micro: comment) Co-Authored-By: Claude Sonnet 4.6 --- .config/bat/themes/Nord.tmTheme | 50 ++++++++++++++++++++++++--------- 1 file changed, 37 insertions(+), 13 deletions(-) diff --git a/.config/bat/themes/Nord.tmTheme b/.config/bat/themes/Nord.tmTheme index 40ae67e..e75e087 100644 --- a/.config/bat/themes/Nord.tmTheme +++ b/.config/bat/themes/Nord.tmTheme @@ -51,7 +51,7 @@ name Text & variable names scope - text, source, variable.other.readwrite, punctuation.definition.variable + text, source, variable, variable.other, variable.other.readwrite, support.variable, meta.definition.variable, punctuation.definition.variable settings foreground @@ -128,7 +128,7 @@ name Boolean constants (true / false) scope - constant.language.boolean, constant.language.true, constant.language.false + constant.language.boolean, constant.language.true, constant.language.false, constant.other.boolean settings foreground @@ -138,9 +138,9 @@ name - Other language constants (null, undefined, …) + Other language constants (null, undefined, symbols, …) scope - constant.language, constant.language.null, constant.language.undefined, variable.other.constant, entity.name.constant + constant.language, constant.language.null, constant.language.undefined, variable.other.constant, entity.name.constant, constant.other.symbol, support.constant settings foreground @@ -180,7 +180,7 @@ name Operators scope - keyword.operator, punctuation.accessor, punctuation.definition.generic, punctuation.separator.key-value, punctuation.definition.tag + keyword.operator, punctuation.accessor, punctuation.definition.generic, punctuation.separator.key-value, punctuation.definition.tag, entity.other.attribute-name.id, punctuation.definition.entity settings foreground @@ -245,7 +245,7 @@ name Function names scope - entity.name.function, meta.function-call, meta.function-call.method, variable.function, support.function + entity.name.function, meta.function-call, meta.function-call.method, variable.function, support.function, keyword.other.special-method settings foreground @@ -308,9 +308,9 @@ name - Tag names + Tag names & generic entity names scope - entity.name.tag + entity.name.tag, entity.name.label settings foreground @@ -359,7 +359,7 @@ name CSS selectors scope - entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css + meta.selector, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css settings foreground @@ -369,9 +369,9 @@ name - CSS units & numeric values + Units & CSS numeric values scope - keyword.other.unit, constant.numeric.css + keyword.other.unit settings foreground @@ -535,9 +535,9 @@ name - Invalid / deprecated + Invalid / deprecated / broken scope - invalid, invalid.illegal, invalid.deprecated + invalid, invalid.illegal, invalid.deprecated, invalid.broken, invalid.unimplemented settings foreground @@ -630,6 +630,30 @@ + + name + Color constants (CSS hex colors, etc.) + scope + constant.other.color + settings + + foreground + #8FBCBB + + + + + name + Separators (horizontal rules, etc.) + scope + meta.separator + settings + + foreground + #4C566A + + +