mirror of
				https://github.com/neovim/neovim.git
				synced 2025-11-03 17:24:29 +00:00 
			
		
		
		
	- Complete function: There was lots of unnecessary C code for the complete function, therefore moving it to Lua and use all the plumbing we have in place to retrieve the results. - Moving the module: It's important we keep nvim lua modules name spaced, avoids conflict with plugins, luarocks, etc.
		
			
				
	
	
		
			7 lines
		
	
	
		
			155 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			155 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
return setmetatable({}, {
 | 
						|
  __index = function(_, k)
 | 
						|
    vim.deprecate("require('health')", 'vim.health', '0.9', false)
 | 
						|
    return vim.health[k]
 | 
						|
  end,
 | 
						|
})
 |