Skip to content

Commit 8a3152d

Browse files
committedDec 27, 2022
fix(plugin): find plugins with /lua/ instead of /lua
1 parent b5b2ab6 commit 8a3152d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lua/lazy/core/plugin.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ end
280280
-- Finds the plugin that has this path
281281
---@param path string
282282
function M.find(path)
283-
local lua = path:find("/lua", 1, true)
283+
local lua = path:find("/lua/", 1, true)
284284
if lua then
285285
local name = path:sub(1, lua - 1)
286286
local slash = name:reverse():find("/", 1, true)

0 commit comments

Comments
 (0)
Please sign in to comment.