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