feat(rc): improve graphql field arguments highlighter

This commit is contained in:
Gianni Chiappetta 2021-01-13 21:37:08 -05:00
parent d8f65bd0ec
commit ec80d83e71
No known key found for this signature in database
GPG Key ID: 0E83B3D88ECF5E7C

View File

@ -43,7 +43,7 @@ add-highlighter shared/graphql/object region -recurse \{ [{] [}] regions
add-highlighter shared/graphql/object/line-description region '#' '\n' fill comment
add-highlighter shared/graphql/object/block-description region '"""' '"""' fill comment
add-highlighter shared/graphql/object/field default-region group
add-highlighter shared/graphql/object/field/ regex ([A-Za-z][A-Za-z0-9_-]*)(?:\([\w\d\h,:$=]*\))?\h*[:{] 1:attribute
add-highlighter shared/graphql/object/field/ regex ([A-Za-z][A-Za-z0-9_-]*)(?:\([\w\d\h,:$=!"_]*\))?\h*[:{] 1:attribute
add-highlighter shared/graphql/object/field/ regex ^\h*([A-Za-z][A-Za-z0-9_-]*)\h*$ 1:attribute
# Values