mirror of
				https://github.com/sammy-ette/Hilbish
				synced 2025-08-10 02:52:03 +00:00 
			
		
		
		
	docs: [ci] generate new docs
This commit is contained in:
		
							parent
							
								
									6ea25a22b3
								
							
						
					
					
						commit
						2fb481c4cb
					
				@ -16,6 +16,11 @@ exec(cmd) > Replaces running hilbish with `cmd`
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
goro(fn) > Puts `fn` in a goroutine
 | 
					goro(fn) > Puts `fn` in a goroutine
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					hinter(cb) > Sets the hinter function. This will be called on every key insert to determine
 | 
				
			||||||
 | 
					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 for vim
 | 
				
			||||||
 | 
					
 | 
				
			||||||
interval(cb, time) > Runs the `cb` function every `time` milliseconds
 | 
					interval(cb, time) > Runs the `cb` function every `time` milliseconds
 | 
				
			||||||
 | 
				
			|||||||
@ -33,6 +33,13 @@ function hilbish.exec(cmd) end
 | 
				
			|||||||
--- @param fn function
 | 
					--- @param fn function
 | 
				
			||||||
function hilbish.goro(fn) end
 | 
					function hilbish.goro(fn) end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					--- Sets the hinter function. This will be called on every key insert to determine
 | 
				
			||||||
 | 
					--- 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.
 | 
				
			||||||
 | 
					--- @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 for vim
 | 
				
			||||||
--- @param mode string
 | 
					--- @param mode string
 | 
				
			||||||
function hilbish.inputMode(mode) end
 | 
					function hilbish.inputMode(mode) end
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user