mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
style: spelling
This commit is contained in:
parent
66dad89f58
commit
b7bf18abd3
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue