File tree 2 files changed +4
-0
lines changed
2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ syn keyword graphqlBoolean true false
17
17
syn keyword graphqlNull null
18
18
syn match graphqlNumber " -\=\<\% (0\| [1-9]\d *\)\% (\.\d\+\)\=\% ([eE][-+]\=\d\+\)\=\> "
19
19
syn region graphqlString start =+ "+ skip =+ \\\\\|\\ "+ end =+ "\| $+
20
+ syn region graphqlString start =+ """+ end =+ """+
20
21
21
22
syn keyword graphqlKeyword on nextgroup =graphqlType skipwhite
22
23
Original file line number Diff line number Diff line change @@ -39,10 +39,13 @@ Execute (Boolean assertions):
39
39
Given graphql (Strings):
40
40
""
41
41
"Hello World"
42
+ """Triple-quoted
43
+ string"""
42
44
43
45
Execute (String assertions):
44
46
AssertEqual 'graphqlString', SyntaxOf('""')
45
47
AssertEqual 'graphqlString', SyntaxOf('"Hello World"')
48
+ AssertEqual 'graphqlString', SyntaxOf('"""Triple-quoted\nstring"""')
46
49
47
50
# https://facebook.github.io/graphql/#sec-Type-Conditions
48
51
Given graphql (Type Conditions):
You can’t perform that action at this time.
0 commit comments