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:
parent
69a152d680
commit
fe3f8d2271
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user