mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	fix(checkhealth): failed if 'lua' in plugin name
This commit is contained in:
		| @@ -118,7 +118,7 @@ local function filepath_to_healthcheck(path) | ||||
|     func = 'health#' .. name .. '#check' | ||||
|     filetype = 'v' | ||||
|   else | ||||
|     local subpath = path:gsub('.*lua/', '') | ||||
|     local subpath = path:gsub('.*/lua/', '') | ||||
|     if vim.fs.basename(subpath) == 'health.lua' then | ||||
|       -- */health.lua | ||||
|       name = vim.fs.dirname(subpath) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 phanium
					phanium