Update README
This commit is contained in:
		
							parent
							
								
									cf5ef5510c
								
							
						
					
					
						commit
						c7fea8278e
					
				| @ -19,7 +19,7 @@ Get the file, add to load path, and | ||||
| ** Variable | ||||
| - =eldoc-box-max-pixel-width= & =eldoc-box-max-pixel-height= :: Set them according to the screen resolution of your machine. | ||||
| - =eldoc-box-only-multi-line= :: Set this to non-nil and eldoc-box only display multi-line message in childframe. One line messages are left in minibuffer. | ||||
| - =eldoc-box-cleanup-interval= :: After this amount of seconds will eldoc-box attempt to cleanup the childframe. E.g. if it is set to 1, the childframe is cleared 1 second after you moved the point to somewhere else (that doesn't have a doc to show). | ||||
| - =eldoc-box-cleanup-interval= :: After this amount of seconds will eldoc-box attempt to cleanup the childframe. E.g. if it is set to 1, the childframe is cleared 1 second after you moved the point to somewhere else (that doesn't have a doc to show). This doesn't apply to =eldoc-box-hover-at-point-mode=, in that mode the childframe is cleared as soon as point moves. | ||||
| 
 | ||||
| ** Use with eglot | ||||
| As of writing this README, eglot doesn't have a public mode hook, use this hook: | ||||
|  | ||||
| @ -57,7 +57,9 @@ | ||||
| (defvar eldoc-box-cleanup-interval 1 | ||||
|   "After this amount of seconds will eldoc-box attempt to cleanup the childframe. | ||||
| E.g. if it is set to 1, the childframe is cleared 1 second after | ||||
| you moved the point to somewhere else (that doesn't have a doc to show)") | ||||
| you moved the point to somewhere else (that doesn't have a doc to show). | ||||
| This doesn't apply to =eldoc-box-hover-at-point-mode=, | ||||
| in that mode the childframe is cleared as soon as point moves.") | ||||
| 
 | ||||
| (defvar eldoc-box-clear-with-C-g nil | ||||
|   "If set to non-nil, eldoc-box clears cildframe when you hit \C-g.") | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Yuan Fu
						Yuan Fu