Skip to content

Commit

Permalink
Fix: highlight parameters of "classgroup" as strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
EliotVU committed Jan 26, 2023
1 parent f443240 commit 5dfe017
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions syntaxes/UnrealScript.YAML-tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ repository:
- name: constant.numeric.hex.uc
match: 0(?:x|X)[0-9a-fA-F]+

# Matches one of (.0¡.0f|0.f¡0.0)
# Matches one of (.0¡.0f|0.f¡0.0)
- name: constant.numeric.decimal.uc
match: '[0-9]*\.(?:(?:f|F)|[0-9]+(?:f|F))'

Expand Down Expand Up @@ -477,10 +477,10 @@ repository:
name: storage.modifier.uc

# modifiers with params
- match: \b((?i)hidecategories|showcategories|autocollapsecategories|dontautocollapsecategories|autoexpandcategories|dontsortcategories|collapsecategories|dontcollapsecategories)\b
- match: \b((?i)hidecategories|showcategories|autocollapsecategories|dontautocollapsecategories|autoexpandcategories|dontsortcategories|collapsecategories|dontcollapsecategories|classgroup)\b
name: storage.modifier.uc

- begin: \b((?i)dllbind|inherits|dependson|implements|classgroup|classredirect)\b
- begin: \b((?i)dllbind|inherits|dependson|implements|classredirect)\b
beginCaptures:
'1':
name: storage.modifier.uc
Expand Down

0 comments on commit 5dfe017

Please sign in to comment.