Skip to content

Commit 402a4b7

Browse files
committed
Recognize the 'directive' keyword.
1 parent 744dd64 commit 402a4b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

syntax/graphql.vim

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ syn keyword graphqlStructure enum scalar type union nextgroup=graphqlType skipwh
2222
syn keyword graphqlStructure input interface subscription nextgroup=graphqlType skipwhite
2323
syn keyword graphqlStructure implements on nextgroup=graphqlType skipwhite
2424
syn keyword graphqlStructure query mutation fragment nextgroup=graphqlIdentifier skipwhite
25+
syn keyword graphqlStructure directive nextgroup=graphqlDirective skipwhite
2526
syn keyword graphqlStructure extend nextgroup=graphqlStructure skipwhite
2627

2728
syn match graphqlDirective "\<@\h\w*\>" display

0 commit comments

Comments
 (0)