mirror of
				https://github.com/folke/lazy.nvim.git
				synced 2025-10-31 14:31:04 +00:00 
			
		
		
		
	fix(plugin): find plugins with /lua/ instead of /lua
		
	This commit is contained in:
		
					parent
					
						
							
								b5b2ab6b6c
							
						
					
				
			
			
				commit
				
					
						8a3152de93
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -280,7 +280,7 @@ end | |||
| -- Finds the plugin that has this path | ||||
| ---@param path string | ||||
| function M.find(path) | ||||
|   local lua = path:find("/lua", 1, true) | ||||
|   local lua = path:find("/lua/", 1, true) | ||||
|   if lua then | ||||
|     local name = path:sub(1, lua - 1) | ||||
|     local slash = name:reverse():find("/", 1, true) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue