mirror of
				https://github.com/zsh-users/zsh-syntax-highlighting.git
				synced 2025-10-30 15:56:28 +08:00 
			
		
		
		
	'main': Update state machine docs. No functional change.
This commit is contained in:
		
							parent
							
								
									b8c955d164
								
							
						
					
					
						commit
						6ccba63f21
					
				@ -289,8 +289,9 @@ _zsh_highlight_highlighter_main_paint()
 | 
				
			|||||||
  #
 | 
					  #
 | 
				
			||||||
  # The states are:
 | 
					  # The states are:
 | 
				
			||||||
  # - :start:      Command word
 | 
					  # - :start:      Command word
 | 
				
			||||||
  # - :sudo_opt:   A leading-dash option to sudo (such as "-u" or "-i")
 | 
					  # - :sudo_opt:   A leading-dash option to a precommand, whether it takes an
 | 
				
			||||||
  # - :sudo_arg:   The argument to a sudo leading-dash option that takes one,
 | 
					  #                argument or not.  (Example: sudo's "-u" or "-i".)
 | 
				
			||||||
 | 
					  # - :sudo_arg:   The argument to a precommand's leading-dash option,
 | 
				
			||||||
  #                when given as a separate word; i.e., "foo" in "-u foo" (two
 | 
					  #                when given as a separate word; i.e., "foo" in "-u foo" (two
 | 
				
			||||||
  #                words) but not in "-ufoo" (one word).
 | 
					  #                words) but not in "-ufoo" (one word).
 | 
				
			||||||
  # - :regular:    "Not a command word", and command delimiters are permitted.
 | 
					  # - :regular:    "Not a command word", and command delimiters are permitted.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user