aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAsh-Coder-or-Not <newestideaz@gmail.com>2022-01-17 22:24:48 +0530
committerAsh-Coder-or-Not <newestideaz@gmail.com>2022-01-17 22:24:48 +0530
commitce28c1fac3184445c1fcc5ccabef56ec71e52927 (patch)
treefb56fb027f545f712d01a52a8e8523a2c0e95e56 /plugins
parent3c0545b9b78b1853a895cce4b8be25bbe12a0751 (diff)
downloadlite-xl-plugins-ce28c1fac3184445c1fcc5ccabef56ec71e52927.tar.gz
lite-xl-plugins-ce28c1fac3184445c1fcc5ccabef56ec71e52927.zip
small fixes part 2
made fixes based on the review in #20
Diffstat (limited to 'plugins')
-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" },