Skip to content

Commit 07bed44

Browse files
authored
Add gutterCell to graphql schema (#112)
When making queries to the GRVSC graphql nodes, an error is thrown if you try querying for gutterCells if they haven't been inferred.
1 parent 60941d3 commit 07bed44

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/graphql/schema.graphql

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@ type GRVSCToken {
1717
defaultThemeTokenData: GRVSCThemeTokenData!
1818
additionalThemeTokenData: [GRVSCThemeTokenData!]!
1919
}
20+
type GRVSCGutterCell {
21+
className: String!
22+
text: String!
23+
}
2024
type GRVSCTokenizedLine {
2125
tokens: [GRVSCToken!]!
26+
gutterCells: [GRVSCGutterCell]
2227
text: String!
2328
html: String!
2429
attrs: JSON!

0 commit comments

Comments
 (0)