mirror of
				https://github.com/zsh-users/zsh-syntax-highlighting.git
				synced 2025-10-30 15:56:28 +08:00 
			
		
		
		
	'main': New XFail test for parameter expansion at command word.
This commit is contained in:
		
							parent
							
								
									77fe96772e
								
							
						
					
					
						commit
						d21d3b31da
					
				@ -28,9 +28,11 @@
 | 
				
			|||||||
# -------------------------------------------------------------------------------------------------
 | 
					# -------------------------------------------------------------------------------------------------
 | 
				
			||||||
 | 
					
 | 
				
			||||||
local x=/usr/bin/env
 | 
					local x=/usr/bin/env
 | 
				
			||||||
BUFFER='$x "argument"'
 | 
					local y=sudo
 | 
				
			||||||
 | 
					BUFFER='$x "argument"; $y'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
expected_region_highlight=(
 | 
					expected_region_highlight=(
 | 
				
			||||||
  "1 2 command" # $x
 | 
					  "1 2 command" # $x
 | 
				
			||||||
  "4 13 double-quoted-argument" # "argument"
 | 
					  "4 13 double-quoted-argument" # "argument"
 | 
				
			||||||
 | 
					  "16 17 precommand 'parameter expansion precedes precommand recognition'" # $y (sudo)
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user