diff options
author | Ash-Coder-or-Not <newestideaz@gmail.com> | 2022-01-17 23:53:02 +0530 |
---|---|---|
committer | Ash-Coder-or-Not <newestideaz@gmail.com> | 2022-01-17 23:53:02 +0530 |
commit | 1ebb2c70710d2c22c68c301c76ed74f75dbdcf67 (patch) | |
tree | 0468bcdf9db6d0959f8a68bcac303ee0a7dd77d9 /plugins/language_gmi.lua | |
parent | 61221f60ceb8b52aa485f518dadb8c92d7bc11f6 (diff) | |
download | lite-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.lua | 4 |
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" }, |