mirror of
				https://github.com/zsh-users/zsh-syntax-highlighting.git
				synced 2025-11-04 03:56:30 +00:00 
			
		
		
		
	bracket highlighter: small typo in testcase - document new style
This commit is contained in:
		
							parent
							
								
									06ad03e32c
								
							
						
					
					
						commit
						b1b65dc486
					
				@ -17,6 +17,7 @@ This highlighter defines the following styles:
 | 
			
		||||
 | 
			
		||||
* `bracket-error` - unmatched brackets
 | 
			
		||||
* `bracket-level-N` - brackets with nest level N
 | 
			
		||||
* `cursor-matchingbracket` - the matching bracket, if cursor is on a bracket
 | 
			
		||||
 | 
			
		||||
To override one of those styles, change its entry in `ZSH_HIGHLIGHT_STYLES`, for example in `~/.zshrc`:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -28,7 +28,7 @@
 | 
			
		||||
# vim: ft=zsh sw=2 ts=2 et
 | 
			
		||||
# -------------------------------------------------------------------------------------------------
 | 
			
		||||
 | 
			
		||||
BUFFER='echo $(echo x{(z)array})'
 | 
			
		||||
BUFFER='echo $(echo ${(z)array})'
 | 
			
		||||
 | 
			
		||||
expected_region_highlight=(
 | 
			
		||||
  "6  6  $ZSH_HIGHLIGHT_STYLES[bracket-level-1]" # (
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user