aboutsummaryrefslogtreecommitdiff
path: root/plugins/language_gmi.lua
diff options
context:
space:
mode:
authorAsh-Coder-or-Not <newestideaz@gmail.com>2022-01-17 23:53:02 +0530
committerAsh-Coder-or-Not <newestideaz@gmail.com>2022-01-17 23:53:02 +0530
commit1ebb2c70710d2c22c68c301c76ed74f75dbdcf67 (patch)
tree0468bcdf9db6d0959f8a68bcac303ee0a7dd77d9 /plugins/language_gmi.lua
parent61221f60ceb8b52aa485f518dadb8c92d7bc11f6 (diff)
downloadlite-xl-plugins-1ebb2c70710d2c22c68c301c76ed74f75dbdcf67.tar.gz
lite-xl-plugins-1ebb2c70710d2c22c68c301c76ed74f75dbdcf67.zip
making it so that the enire line is highlighted
Diffstat (limited to 'plugins/language_gmi.lua')
-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" },