aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/language_gmi.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/language_gmi.lua b/plugins/language_gmi.lua
index 0804267..d8f578b 100644
--- a/plugins/language_gmi.lua
+++ b/plugins/language_gmi.lua
@@ -8,10 +8,9 @@ syntax.add {
files = { "%.gmi$" },
patterns = {
{ pattern = { "```", "```" }, type = "string" },
- { pattern = "#.-", type = "keyword" },
- { pattern = "%*.*", type = "keyword2" },
+ { pattern = "#.+", type = "keyword" },
+ { pattern = "%*.+", type = "keyword2" },
{ pattern = "=>", type = "function" },
- { pattern = "!?%[.-%]%(.-%)", type = "function" },
{ pattern = "https?://%S+", type = "literal" },
{ pattern = "gemini?://%S+", type = "literal" },
{ pattern = ">.*", type = "comment" },