style: fix some typo (#1496)

This commit is contained in:
Zhizhen He 2024-06-03 15:18:43 +08:00 committed by GitHub
parent b0ba3f9399
commit f39c79fcb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 13 additions and 13 deletions

View file

@ -8,7 +8,7 @@ local M = {}
---@class ModuleFindOpts
---@field all? boolean Search for all matches (defaults to `false`)
---@field rtp? boolean Search for modname in the runtime path (defaults to `true`)
---@field patterns? string[] Paterns to use (defaults to `{"/init.lua", ".lua"}`)
---@field patterns? string[] Patterns to use (defaults to `{"/init.lua", ".lua"}`)
---@field paths? string[] Extra paths to search for modname
---@class ModuleInfo
@ -474,7 +474,7 @@ function Loader.lsmod(path)
return Loader._indexed[path]
end
--- Debug function that wrapps all loaders and tracks stats
--- Debug function that wraps all loaders and tracks stats
---@private
function M._profile_loaders()
for l, loader in pairs(package.loaders) do

View file

@ -117,7 +117,7 @@ function Spec:add(plugin, results)
dir = dir_dev
end
elseif plugin.dev == false then
-- explicitely select the default path
-- explicitly select the default path
dir = Config.options.root .. "/" .. plugin.name
end