Skip to content

Commit 84b2f5f

Browse files
committed
feat(quotes): set quotes as quoted strings instead of comments
1 parent afb8605 commit 84b2f5f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

GraphQL.sublime-syntax

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -152,23 +152,23 @@ contexts:
152152

153153
description:
154154
- match: '"""'
155-
scope: punctuation.definition.comment.begin.graphql
155+
scope: string.quoted.multiline.begin.graphql
156156
set:
157157
- meta_include_prototype: false
158-
- meta_scope: comment.block.documentation.graphql
158+
- meta_scope: string.quoted.multiline.graphql
159159
- match: '\\"""'
160160
scope: constant.character.escape.graphql
161161
- match: '"""'
162-
scope: punctuation.definition.comment.end.graphql
162+
scope: string.quoted.multiline.end.graphql
163163
pop: true
164164

165165
- match: '"'
166-
scope: punctuation.definition.comment.begin.graphql
166+
scope: string.quoted.double.begin.graphql
167167
set:
168168
- meta_include_prototype: false
169-
- meta_scope: comment.block.documentation.graphql
169+
- meta_scope: string.quoted.double.graphql
170170
- match: '"'
171-
scope: punctuation.definition.comment.end.graphql
171+
scope: string.quoted.double.end.graphql
172172
pop: true
173173

174174
- match: '\\u\h{4}'

0 commit comments

Comments
 (0)