diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-01-02 14:02:10 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-01-02 14:02:10 -0500 |
commit | 682054104db9e055ad47887753a7e0cdb726e0eb (patch) | |
tree | cd5021e8045016d4f1e518fce6f10f48830a4761 /src/lpm.lua | |
parent | 9a5c459f3fdf6affb73039a0cabad66486aff9c4 (diff) | |
download | lite-xl-plugin-manager-682054104db9e055ad47887753a7e0cdb726e0eb.tar.gz lite-xl-plugin-manager-682054104db9e055ad47887753a7e0cdb726e0eb.zip |
Fixed gsub.v0.91
Diffstat (limited to 'src/lpm.lua')
-rw-r--r-- | src/lpm.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua index 5058743..493dc23 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -1775,7 +1775,7 @@ in any circumstance unless explicitly supplied. local names = common.map(plugins, function(plugin) if plugin.path then return string.format("[`%s`](%s?raw=1)", plugin.name, plugin.path) end if plugin.url then return string.format("[`%s`](%s)", plugin.name, plugin.url) end - if plugin.remote then return string.format("[`%s`](%s)\\*", plugin.name, plugin.remote:gsub(":%w+$")) end + if plugin.remote then return string.format("[`%s`](%s)\\*", plugin.name, plugin.remote:gsub(":%w+$", "")) end return plugin.name end) local descriptions = common.map(plugins, function(e) return e.description or "" end) |