Skip to content
This repository was archived by the owner on Dec 28, 2024. It is now read-only.

Commit 3131d85

Browse files
committed
improve wording of readme
1 parent 2e8faec commit 3131d85

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,16 +212,16 @@ This plugin allows discovery of lua packages that are on `package.path`.
212212

213213
- yue
214214

215-
This plugin allows discovery and importment of `.yue` files. (requires `yue` package)
215+
This plugin allows discovery and usage of `.yue` files. (requires `yue` to be installed)
216216

217217
- moonscript
218218

219-
This plugin allows discovery and importment of `.moon` files. (requires `moonscript` package)
219+
This plugin allows discovery and usage of `.moon` files. (requires `moonscript` to be installed)
220220

221221

222222
### Plugin API
223223

224-
A plugin is just a table:
224+
A plugin is just a table with the following fields:
225225

226226
- `name`: string
227227

@@ -247,7 +247,7 @@ luapack.helpers.fast_push(luapack.default_plugins, {
247247
if not luapack.helpers.check_file_extension(filename, ".lua") then
248248
return false -- dont do any changes if its not a lua file
249249
end
250-
-- name and filename as comment at the start
250+
-- add package name and filename as comment at the start
251251
return "-- " .. name .. " at " .. filename .. "\n" .. content
252252
end
253253
})

0 commit comments

Comments
 (0)