1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-23 15:23:29 +03:00

chore(rc): support nested field strings in graphql

This commit is contained in:
Gianni Chiappetta 2021-01-14 15:46:50 -05:00
parent 69a152d680
commit fe3f8d2271
No known key found for this signature in database
GPG Key ID: 0E83B3D88ECF5E7C

View File

@ -49,7 +49,8 @@ add-highlighter shared/graphql/object/field/ regex ^\h*([A-Za-z][A-Za-z0-9_-]*)\
# Values
add-highlighter shared/graphql/object/field/values regex \b(true|false|null|\d+(?:\.\d+)?(?:[eE][+-]?\d*)?)\b 0:value
add-highlighter shared/graphql/object/field/variables regex \$[a-zA-Z0-9]+\b 0:variable
add-highlighter shared/graphql/object/field/string regex '"[^"]*"' 0:string
# add-highlighter shared/graphql/object/field/string regex '"([^"]|\\")*"' 0:string
add-highlighter shared/graphql/object/field/string regex '"(?:[^"\\]|\\.)*"' 0:string
# Meta
add-highlighter shared/graphql/object/field/directives regex @(?:include|skip) 0:meta