mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	chore: update branch
This commit is contained in:
		
						commit
						3065cdd62d
					
				
							
								
								
									
										2
									
								
								api.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								api.go
									
									
									
									
									
								
							| @ -140,7 +140,9 @@ func hilbishLoad(rtm *rt.Runtime) (rt.Value, func()) { | |||||||
| 
 | 
 | ||||||
| 	// hilbish.completion table | 	// hilbish.completion table | ||||||
| 	hshcomp := completionLoader(rtm) | 	hshcomp := completionLoader(rtm) | ||||||
|  | 	// TODO: REMOVE "completion" AND ONLY USE "completions" WITH AN S | ||||||
| 	mod.Set(rt.StringValue("completion"), rt.TableValue(hshcomp)) | 	mod.Set(rt.StringValue("completion"), rt.TableValue(hshcomp)) | ||||||
|  | 	mod.Set(rt.StringValue("completions"), rt.TableValue(hshcomp)) | ||||||
| 
 | 
 | ||||||
| 	// hilbish.runner table | 	// hilbish.runner table | ||||||
| 	runnerModule := runnerModeLoader(rtm) | 	runnerModule := runnerModeLoader(rtm) | ||||||
|  | |||||||
| @ -247,7 +247,6 @@ func hcmpBins(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) { | |||||||
| 	return c.PushingNext(t.Runtime, rt.TableValue(luaComps), rt.StringValue(pfx)), nil | 	return c.PushingNext(t.Runtime, rt.TableValue(luaComps), rt.StringValue(pfx)), nil | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| // #interface completion | // #interface completion | ||||||
| // call(name, query, ctx, fields) -> completionGroups (table), prefix (string) | // call(name, query, ctx, fields) -> completionGroups (table), prefix (string) | ||||||
| // Calls a completer function. This is mainly used to call a command completer, which will have a `name` | // Calls a completer function. This is mainly used to call a command completer, which will have a `name` | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user