aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAris Julio <arisjulio@users.noreply.github.com>2024-02-09 18:50:08 -0500
committerGitHub <noreply@github.com>2024-02-10 00:50:08 +0100
commit46681653fdd152b0dc33d91d2d70c97e8f0adf84 (patch)
tree20bb56cbbd6e13c88d09be892a215c78b9b0b719 /plugins
parent9d02dca3ba552ca69301a439677b926469d37747 (diff)
downloadlite-xl-plugins-46681653fdd152b0dc33d91d2d70c97e8f0adf84.tar.gz
lite-xl-plugins-46681653fdd152b0dc33d91d2d70c97e8f0adf84.zip
Fix comments and strings in language_graphql.lua (#362)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/language_graphql.lua2
1 files changed, 1 insertions, 1 deletions
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" },