mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
tests: fixed tests
This commit is contained in:
parent
8063523471
commit
69121c7721
2 changed files with 14 additions and 55 deletions
|
@ -292,6 +292,9 @@ end
|
|||
-- Finds the plugin that has this path
|
||||
---@param path string
|
||||
function M.find(path)
|
||||
if not Config.spec then
|
||||
return
|
||||
end
|
||||
local lua = path:find("/lua/", 1, true)
|
||||
if lua then
|
||||
local name = path:sub(1, lua - 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue