mirror of
				https://github.com/zsh-users/zsh-autosuggestions.git
				synced 2025-10-30 15:26:29 +08:00 
			
		
		
		
	Don't bind any zle-* methods
It seems like all the zle-* methods are special and shouldn't be monkeyed with. Specifically `zle-isearch-update` and friends. Binding that widget caused `history-incremental-pattern-search` to stop working. Fixes zsh-users/zsh-syntax-highlighting#387
This commit is contained in:
		
							parent
							
								
									a109f52fe4
								
							
						
					
					
						commit
						0c940e70f2
					
				| @ -53,7 +53,7 @@ _zsh_autosuggest_bind_widgets() { | ||||
| 	ignore_widgets=( | ||||
| 		.\* | ||||
| 		_\* | ||||
| 		zle-line-\* | ||||
| 		zle-\* | ||||
| 		autosuggest-\* | ||||
| 		$ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX\* | ||||
| 		$ZSH_AUTOSUGGEST_IGNORE_WIDGETS | ||||
|  | ||||
| @ -223,7 +223,7 @@ _zsh_autosuggest_bind_widgets() { | ||||
| 	ignore_widgets=( | ||||
| 		.\* | ||||
| 		_\* | ||||
| 		zle-line-\* | ||||
| 		zle-\* | ||||
| 		autosuggest-\* | ||||
| 		$ZSH_AUTOSUGGEST_ORIGINAL_WIDGET_PREFIX\* | ||||
| 		$ZSH_AUTOSUGGEST_IGNORE_WIDGETS | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Christian Höltje
						Christian Höltje