aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <adamdharrison@gmail.com>2023-11-27 10:10:02 -0500
committerGitHub <noreply@github.com>2023-11-27 10:10:02 -0500
commit4801afb445822ac5b2bee3230dd3ef8de17b1532 (patch)
treed5320577c6e7f1403059c5994c0403a3f3a70f9f
parent8f2cd874ddc57793a08a9b6bdb5172c25802a5e0 (diff)
parentf0426efa4fb38b23ee504d69a84ff1afdcbb486d (diff)
downloadlite-xl-plugin-manager-4801afb445822ac5b2bee3230dd3ef8de17b1532.tar.gz
lite-xl-plugin-manager-4801afb445822ac5b2bee3230dd3ef8de17b1532.zip
Merge pull request #52 from Guldoman/PR_fix_spelling
Fix some spelling and display of `DEFAULT_REPO_URL` in cli help
-rw-r--r--src/lpm.c2
-rw-r--r--src/lpm.lua12
2 files changed, 8 insertions, 6 deletions
diff --git a/src/lpm.c b/src/lpm.c
index 39b2084..692f9fc 100644
--- a/src/lpm.c
+++ b/src/lpm.c
@@ -746,7 +746,7 @@ static int lpm_extract(lua_State* L) {
}
if (strstr(src, ".tar")) {
mtar_t tar = {0};
- /* It's increidbly slow to do it this way, probably because of all the seeking.
+ /* It's incredibly slow to do it this way, probably because of all the seeking.
For now, just gunzip the whole file at once, and then untar it.
tar.read = gzip_read;
tar.seek = gzip_seek;
diff --git a/src/lpm.lua b/src/lpm.lua
index 39f7529..6303354 100644
--- a/src/lpm.lua
+++ b/src/lpm.lua
@@ -1025,7 +1025,7 @@ end
function Repository:parse_manifest(repo_id)
if self.manifest then return self.manifest, self.remotes end
- if system.stat(self.local_path) then
+ if system.stat(self.local_path) then
self.manifest_path = self.local_path .. PATHSEP .. "manifest.json"
if not system.stat(self.manifest_path) then
log_warning("Can't find manifest.json for " .. self:url() .. "; automatically generating manifest.")
@@ -2009,9 +2009,11 @@ It's designed to install packages from our central github repository (and
affiliated repositories), directly into your lite-xl user directory. It can
be called independently, or from the lite-xl `plugin_manager` addon.
-LPM will always use ]] .. DEFAULT_REPO_URL .. [[
+LPM will always use
+]] .. DEFAULT_REPO_URL .. [[
+
as its base repository, if none are present, and the cache directory
-does't exist, but others can be added, and this base one can be removed.
+doesn't exist, but others can be added, and this base one can be removed.
It has the following commands:
@@ -2065,7 +2067,7 @@ It has the following commands:
path can be specified.
lpm lite-xl list [name pattern] Lists all installed versions of
[...filters] lite-xl. Can specify the flags listed
- in the filtering seciton.
+ in the filtering section.
lpm run <version> [...addons] Sets up a "bottle" to run the specified
lite version, with the specified addons
and then opens it.
@@ -2106,7 +2108,7 @@ Flags have the following effects:
to all.
--no-install-optional On install, anything marked as optional
won't prompt.
- --trace Dumps to STDERR useful debugging information, in
+ --trace Dumps to stderr useful debugging information, in
particular information relating to SSL connections,
and other network activity.
--progress For JSON mode, lines of progress as JSON objects.