mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	docs: clarify UIEnter and UILeave docs
This commit is contained in:
		| @@ -663,15 +663,19 @@ FuncUndefined			When a user function is used but it isn't | |||||||
| 				alternative is to use an autoloaded function. | 				alternative is to use an autoloaded function. | ||||||
| 				See |autoload-functions|. | 				See |autoload-functions|. | ||||||
| 							*UIEnter* | 							*UIEnter* | ||||||
| UIEnter				After a UI connects via |nvim_ui_attach()|, | UIEnter				After a UI connects via |nvim_ui_attach()|, or | ||||||
| 				after VimEnter.  Can be used for GUI-specific | 				after builtin TUI is started, after |VimEnter|. | ||||||
| 				configuration. |  | ||||||
| 				Sets these |v:event| keys: | 				Sets these |v:event| keys: | ||||||
| 				    chan | 				    chan: 0 for builtin TUI | ||||||
|  | 				          1 for |--embed| | ||||||
|  | 				          |channel-id| of the UI otherwise | ||||||
| 							*UILeave* | 							*UILeave* | ||||||
| UILeave				After a UI disconnects from Nvim. | UILeave				After a UI disconnects from Nvim, or after | ||||||
|  | 				builtin TUI is stopped, after |VimLeave|. | ||||||
| 				Sets these |v:event| keys: | 				Sets these |v:event| keys: | ||||||
| 				    chan | 				    chan: 0 for builtin TUI | ||||||
|  | 				          1 for |--embed| | ||||||
|  | 				          |channel-id| of the UI otherwise | ||||||
| 							*InsertChange* | 							*InsertChange* | ||||||
| InsertChange			When typing <Insert> while in Insert or | InsertChange			When typing <Insert> while in Insert or | ||||||
| 				Replace mode.  The |v:insertmode| variable | 				Replace mode.  The |v:insertmode| variable | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 zeertzjq
					zeertzjq