mirror of
				https://github.com/zsh-users/zsh-syntax-highlighting.git
				synced 2025-10-31 10:04:31 +00:00 
			
		
		
		
	'main': Fix state check.
At this time, no user-visible consequences are known.
This commit is contained in:
		
							parent
							
								
									ea5186543d
								
							
						
					
					
						commit
						17fbcad8ac
					
				| @ -406,8 +406,8 @@ _zsh_highlight_main_highlighter() | |||||||
|       next_word=':start:' |       next_word=':start:' | ||||||
|       highlight_glob=true |       highlight_glob=true | ||||||
|     elif |     elif | ||||||
|        [[ -n ${(M)ZSH_HIGHLIGHT_TOKENS_CONTROL_FLOW:#"$arg"} && $this_word == *':start:' ]] || |        [[ -n ${(M)ZSH_HIGHLIGHT_TOKENS_CONTROL_FLOW:#"$arg"} && $this_word == *':start:'* ]] || | ||||||
|        [[ -n ${(M)ZSH_HIGHLIGHT_TOKENS_PRECOMMANDS:#"$arg"} && $this_word == *':start:' ]]; then |        [[ -n ${(M)ZSH_HIGHLIGHT_TOKENS_PRECOMMANDS:#"$arg"} && $this_word == *':start:'* ]]; then | ||||||
|       next_word=':start:' |       next_word=':start:' | ||||||
|     elif [[ $arg == "repeat" && $this_word == *':start:'* ]]; then |     elif [[ $arg == "repeat" && $this_word == *':start:'* ]]; then | ||||||
|       # skip the repeat-count word |       # skip the repeat-count word | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Daniel Shahaf
						Daniel Shahaf