From b40c6dce32c79ac066846ceeb32c1623cd507650 Mon Sep 17 00:00:00 2001 From: Ash-Coder-or-Not Date: Mon, 17 Jan 2022 22:19:56 +0530 Subject: small fixes #2 made fixes based on the review in #20 --- plugins/language_gmi.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/language_gmi.lua') 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" }, -- cgit v1.2.3