diff options
author | Aris Julio <arisjulio@users.noreply.github.com> | 2024-02-09 18:50:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-10 00:50:08 +0100 |
commit | 46681653fdd152b0dc33d91d2d70c97e8f0adf84 (patch) | |
tree | 20bb56cbbd6e13c88d09be892a215c78b9b0b719 | |
parent | 9d02dca3ba552ca69301a439677b926469d37747 (diff) | |
download | lite-xl-plugins-46681653fdd152b0dc33d91d2d70c97e8f0adf84.tar.gz lite-xl-plugins-46681653fdd152b0dc33d91d2d70c97e8f0adf84.zip |
Fix comments and strings in language_graphql.lua (#362)
-rw-r--r-- | manifest.json | 2 | ||||
-rw-r--r-- | plugins/language_graphql.lua | 2 |
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" }, |