aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifest.json2
-rw-r--r--plugins/language_graphql.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/manifest.json b/manifest.json
index ddc925d..fa4d74d 100644
--- a/manifest.json
+++ b/manifest.json
@@ -795,7 +795,7 @@
},
{
"description": "Syntax for the [GraphQL](https://graphql.org/) query language, and server-side runtime for executing queries using a type system.",
- "version": "0.1",
+ "version": "0.2",
"path": "plugins/language_graphql.lua",
"id": "language_graphql",
"mod_version": "3",
diff --git a/plugins/language_graphql.lua b/plugins/language_graphql.lua
index 6e38d28..7627ee2 100644
--- a/plugins/language_graphql.lua
+++ b/plugins/language_graphql.lua
@@ -7,9 +7,9 @@ syntax.add {
comment = "#",
block_comment = { '"""', '"""' },
patterns = {
- { pattern = { '"', '"', "\\" }, type = "string" },
{ pattern = { '"""', '"""' }, type = "comment" },
{ pattern = "#.*", type = "comment" },
+ { pattern = { '"', '"', "\\" }, type = "string" },
{ pattern = "-?%.?%d+", type = "number" },
{ pattern = "%s*[@]%s*[%a_][%w_]*", type = "function" },
{ pattern = "!", type = "operator" },