mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	fix(nature/completions): get command name properly for custom completions
This commit is contained in:
		
							parent
							
								
									604dedb36d
								
							
						
					
					
						commit
						26ff6c9a46
					
				| @ -161,6 +161,7 @@ will result in the files being completed. | ||||
| - Cut off item names in grid menu if its longer than cell width | ||||
| - Fix completion search menu disappearing | ||||
| - Completion paths having duplicated characters if it's escaped | ||||
| - Get custom completion command properly to call from Lua | ||||
| 
 | ||||
| ## [2.0.0-rc1] - 2022-09-14 | ||||
| This is a pre-release version of Hilbish for testing. To see the changelog, | ||||
|  | ||||
| @ -24,7 +24,7 @@ function hilbish.completion.handler(line, pos) | ||||
| 		return {compGroup}, pfx | ||||
| 	else | ||||
| 		local ok, compGroups, pfx = pcall(hilbish.completion.call, | ||||
| 		'command.' .. #fields[1], query, ctx, fields) | ||||
| 		'command.' .. fields[1], query, ctx, fields) | ||||
| 		if ok then | ||||
| 			return compGroups, pfx | ||||
| 		end | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user