aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <adamdharrison@gmail.com>2023-09-09 16:47:14 -0400
committerGitHub <noreply@github.com>2023-09-09 16:47:14 -0400
commite83d6765815ee811b9a8b03483b58723204e845d (patch)
tree461df99dfa0c18a7fafa83bd5d030b6bfe13b8f5
parent2452630fd0f829074449c8bc0a12ba929e077e21 (diff)
parent5834605f944bdf50604664d28071c2930f093868 (diff)
downloadlite-xl-plugin-manager-e83d6765815ee811b9a8b03483b58723204e845d.tar.gz
lite-xl-plugin-manager-e83d6765815ee811b9a8b03483b58723204e845d.zip
Merge pull request #41 from Guldoman/PR_fix_repo_detection
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, ...)