mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	Compare commits
	
		
			No commits in common. "86aa40af6469a58bc0592581e5d2b7fc927d6396" and "1458ecdcab0c03eded3151ea5ff7f4c110f16e0e" have entirely different histories.
		
	
	
		
			86aa40af64
			...
			1458ecdcab
		
	
		
							
								
								
									
										2
									
								
								api.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								api.go
									
									
									
									
									
								
							| @ -601,7 +601,7 @@ func hlwhich(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) { | ||||
| } | ||||
| 
 | ||||
| // inputMode(mode) | ||||
| // Sets the input mode for Hilbish's line reader. Accepts either emacs or vim | ||||
| // Sets the input mode for Hilbish's line reader. Accepts either emacs for vim | ||||
| // --- @param mode string | ||||
| func hlinputMode(t *rt.Thread, c *rt.GoCont) (rt.Cont, error) { | ||||
| 	if err := c.Check1Arg(); err != nil { | ||||
|  | ||||
| @ -26,7 +26,7 @@ what text to use as an inline hint. The callback is passed 2 arguments: | ||||
| the current line and the position. It is expected to return a string | ||||
| which will be used for the hint. | ||||
| 
 | ||||
| inputMode(mode) > Sets the input mode for Hilbish's line reader. Accepts either emacs or vim | ||||
| inputMode(mode) > Sets the input mode for Hilbish's line reader. Accepts either emacs for vim | ||||
| 
 | ||||
| interval(cb, time) > Runs the `cb` function every `time` milliseconds. | ||||
| Returns a `timer` object (see `doc timers`). | ||||
|  | ||||
| @ -47,7 +47,7 @@ function hilbish.highlighter(cb) end | ||||
| --- @param cb function | ||||
| function hilbish.hinter(cb) end | ||||
| 
 | ||||
| --- Sets the input mode for Hilbish's line reader. Accepts either emacs or vim | ||||
| --- Sets the input mode for Hilbish's line reader. Accepts either emacs for vim | ||||
| --- @param mode string | ||||
| function hilbish.inputMode(mode) end | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user