From 9e45c07a8d2eb77a1d276f762a448f42a33a47c6 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Wed, 14 Apr 2021 11:59:14 +0200 Subject: Update --- after/syntax/javascript/graphql.vim | 2 +- after/syntax/php/graphql.vim | 2 +- after/syntax/reason/graphql.vim | 5 +++-- after/syntax/typescript/graphql.vim | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) (limited to 'after/syntax') diff --git a/after/syntax/javascript/graphql.vim b/after/syntax/javascript/graphql.vim index d13ae9fb..f76f0fab 100644 --- a/after/syntax/javascript/graphql.vim +++ b/after/syntax/javascript/graphql.vim @@ -2,7 +2,7 @@ if polyglot#init#is_disabled(expand(':p'), 'graphql', 'after/syntax/javas finish endif -" Copyright (c) 2016-2020 Jon Parise +" Copyright (c) 2016-2021 Jon Parise " " Permission is hereby granted, free of charge, to any person obtaining a copy " of this software and associated documentation files (the "Software"), to diff --git a/after/syntax/php/graphql.vim b/after/syntax/php/graphql.vim index 00c9811b..958a3753 100644 --- a/after/syntax/php/graphql.vim +++ b/after/syntax/php/graphql.vim @@ -2,7 +2,7 @@ if polyglot#init#is_disabled(expand(':p'), 'graphql', 'after/syntax/php/g finish endif -" Copyright (c) 2016-2020 Jon Parise +" Copyright (c) 2016-2021 Jon Parise " " Permission is hereby granted, free of charge, to any person obtaining a copy " of this software and associated documentation files (the "Software"), to diff --git a/after/syntax/reason/graphql.vim b/after/syntax/reason/graphql.vim index 74a88a5d..af28b8e4 100644 --- a/after/syntax/reason/graphql.vim +++ b/after/syntax/reason/graphql.vim @@ -2,7 +2,7 @@ if polyglot#init#is_disabled(expand(':p'), 'graphql', 'after/syntax/reaso finish endif -" Copyright (c) 2016-2020 Jon Parise +" Copyright (c) 2016-2021 Jon Parise " " Permission is hereby granted, free of charge, to any person obtaining a copy " of this software and associated documentation files (the "Software"), to @@ -38,4 +38,5 @@ if exists('s:current_syntax') let b:current_syntax = s:current_syntax endif -syntax region graphqlExtensionPoint matchgroup=Noise start=+\[%graphql\_s*{|+lc=10 end=+|}\_s*]+he=s+1 contains=@GraphQLSyntax keepend +syntax region graphqlExtensionPoint start=+\[%graphql+ end=+\]+ contains=graphqlExtensionPointS +syntax region graphqlExtensionPointS matchgroup=String start=+{|+ end=+|}+ contains=@GraphQLSyntax contained diff --git a/after/syntax/typescript/graphql.vim b/after/syntax/typescript/graphql.vim index 6db06513..95055006 100644 --- a/after/syntax/typescript/graphql.vim +++ b/after/syntax/typescript/graphql.vim @@ -2,7 +2,7 @@ if polyglot#init#is_disabled(expand(':p'), 'graphql', 'after/syntax/types finish endif -" Copyright (c) 2016-2020 Jon Parise +" Copyright (c) 2016-2021 Jon Parise " " Permission is hereby granted, free of charge, to any person obtaining a copy " of this software and associated documentation files (the "Software"), to -- cgit v1.2.3