Skip to content

Commit 6108ce3

Browse files
authored
Update reference specification to September 2025 (#121)
As best as I can tell, there aren't any syntax-related changes that we need to incorporate, so just bump the reference specification links. - https://spec.graphql.org/September2025/ - https://github.com/graphql/graphql-spec/releases/tag/September2025
1 parent a5c6c5a commit 6108ce3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# GraphQL for Vim
22

33
This Vim plugin provides [GraphQL](https://graphql.org/) file detection, syntax
4-
highlighting, and indentation. It currently targets the [October 2021
5-
Edition](https://spec.graphql.org/October2021/) of the GraphQL specification.
4+
highlighting, and indentation. It currently targets the [September 2025
5+
Edition](https://spec.graphql.org/September2025/) of the GraphQL specification.
66

77
The core runtime files are also included with Vim 9.1.0955+. They provide the
88
foundational support (ftplugin, indent, syntax) for the `graphql` filetype.

syntax/graphql.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ syn match graphqlVariable "\<\$\h\w*\>" display
6060
syn match graphqlName "\<\h\w*\>" display
6161
syn match graphqlType "\<_*\u\w*\>" display
6262

63-
" https://spec.graphql.org/October2021/#ExecutableDirectiveLocation
63+
" https://spec.graphql.org/September2025/#ExecutableDirectiveLocation
6464
syn keyword graphqlDirectiveLocation QUERY MUTATION SUBSCRIPTION FIELD
6565
syn keyword graphqlDirectiveLocation FRAGMENT_DEFINITION FRAGMENT_SPREAD
6666
syn keyword graphqlDirectiveLocation INLINE_FRAGMENT VARIABLE_DEFINITION
67-
" https://spec.graphql.org/October2021/#TypeSystemDirectiveLocation
67+
" https://spec.graphql.org/September2025/#TypeSystemDirectiveLocation
6868
syn keyword graphqlDirectiveLocation SCHEMA SCALAR OBJECT FIELD_DEFINITION
6969
syn keyword graphqlDirectiveLocation ARGUMENT_DEFINITION INTERFACE UNION
7070
syn keyword graphqlDirectiveLocation ENUM ENUM_VALUE INPUT_OBJECT

0 commit comments

Comments
 (0)