aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuldoman <giulio.lettieri@gmail.com>2023-09-09 20:40:47 +0200
committerGuldoman <giulio.lettieri@gmail.com>2023-09-09 22:41:25 +0200
commit5834605f944bdf50604664d28071c2930f093868 (patch)
tree461df99dfa0c18a7fafa83bd5d030b6bfe13b8f5
parent2452630fd0f829074449c8bc0a12ba929e077e21 (diff)
downloadlite-xl-plugin-manager-5834605f944bdf50604664d28071c2930f093868.tar.gz
lite-xl-plugin-manager-5834605f944bdf50604664d28071c2930f093868.zip
Fix installing plugins with version containing `.`
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua
index e502860..7ce26d3 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1648,7 +1648,7 @@ local function lpm_lite_xl_list()
end
local function is_argument_repo(arg)
- return arg:find("^http") or arg:find("[%.\\/]")
+ return arg:find("^http") or arg:find("[\\/]") or arg == "."
end
local function lpm_lite_xl_run(version, ...)