style: spelling

This commit is contained in:
Folke Lemaitre 2022-12-19 21:11:28 +01:00
parent 66dad89f58
commit b7bf18abd3
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 5 additions and 5 deletions

View file

@ -33,9 +33,9 @@ M.rtp = nil
-- selene:allow(global_usage)
M._loadfile = _G.loadfile
-- checks wether the cached modpath is still valid
-- checks whether the cached modpath is still valid
function M.check_path(modname, modpath)
-- check rtp exlcuding plugins. This is a very small list, so should be fast
-- check rtp excluding plugins. This is a very small list, so should be fast
for _, path in ipairs(M.get_rtp()) do
if modpath:find(path, 1, true) == 1 then
return true