mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			1458ecdcab
			...
			86aa40af64
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 86aa40af64 | ||
|  | a89d3e59d6 | 
							
								
								
									
										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 for vim | ||||
| // Sets the input mode for Hilbish's line reader. Accepts either emacs or 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 for vim | ||||
| inputMode(mode) > Sets the input mode for Hilbish's line reader. Accepts either emacs or 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 for vim | ||||
| --- Sets the input mode for Hilbish's line reader. Accepts either emacs or vim | ||||
| --- @param mode string | ||||
| function hilbish.inputMode(mode) end | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user