diff --git a/README.md b/README.md index 476ce47..9934d66 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # GraphQL for Vim This Vim plugin provides [GraphQL](https://graphql.org/) file detection, syntax -highlighting, and indentation. It currently targets the [October 2021 -Edition](https://spec.graphql.org/October2021/) of the GraphQL specification. +highlighting, and indentation. It currently targets the [September 2025 +Edition](https://spec.graphql.org/September2025/) of the GraphQL specification. The core runtime files are also included with Vim 9.1.0955+. They provide the foundational support (ftplugin, indent, syntax) for the `graphql` filetype. diff --git a/syntax/graphql.vim b/syntax/graphql.vim index 89b216d..835b716 100644 --- a/syntax/graphql.vim +++ b/syntax/graphql.vim @@ -60,11 +60,11 @@ syn match graphqlVariable "\<\$\h\w*\>" display syn match graphqlName "\<\h\w*\>" display syn match graphqlType "\<_*\u\w*\>" display -" https://spec.graphql.org/October2021/#ExecutableDirectiveLocation +" https://spec.graphql.org/September2025/#ExecutableDirectiveLocation syn keyword graphqlDirectiveLocation QUERY MUTATION SUBSCRIPTION FIELD syn keyword graphqlDirectiveLocation FRAGMENT_DEFINITION FRAGMENT_SPREAD syn keyword graphqlDirectiveLocation INLINE_FRAGMENT VARIABLE_DEFINITION -" https://spec.graphql.org/October2021/#TypeSystemDirectiveLocation +" https://spec.graphql.org/September2025/#TypeSystemDirectiveLocation syn keyword graphqlDirectiveLocation SCHEMA SCALAR OBJECT FIELD_DEFINITION syn keyword graphqlDirectiveLocation ARGUMENT_DEFINITION INTERFACE UNION syn keyword graphqlDirectiveLocation ENUM ENUM_VALUE INPUT_OBJECT