diff options
author | Adam <adamdharrison@gmail.com> | 2023-09-09 16:47:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-09 16:47:14 -0400 |
commit | e83d6765815ee811b9a8b03483b58723204e845d (patch) | |
tree | 461df99dfa0c18a7fafa83bd5d030b6bfe13b8f5 /src/lpm.lua | |
parent | 2452630fd0f829074449c8bc0a12ba929e077e21 (diff) | |
parent | 5834605f944bdf50604664d28071c2930f093868 (diff) | |
download | lite-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 `.`
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 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, ...) |