mirror of
				https://github.com/zsh-users/zsh-syntax-highlighting.git
				synced 2025-10-30 15:56:28 +08:00 
			
		
		
		
	Merge branch 'master' of https://github.com/Mario-paul/zsh-syntax-highlighting
This commit is contained in:
		
						commit
						0308a7e998
					
				| @ -25,7 +25,7 @@ By default, all command lines are highlighted.  However, it is possible to | |||||||
| prevent command lines longer than a fixed number of characters from being | prevent command lines longer than a fixed number of characters from being | ||||||
| highlighted by setting the variable `${ZSH_HIGHLIGHT_MAXLENGTH}` to the maximum | highlighted by setting the variable `${ZSH_HIGHLIGHT_MAXLENGTH}` to the maximum | ||||||
| length (in characters) of command lines to be highlighter.  This is useful when | length (in characters) of command lines to be highlighter.  This is useful when | ||||||
| editing very long comand lines (for example, with the [`fned`][fned] utility | editing very long command lines (for example, with the [`fned`][fned] utility | ||||||
| function).  Example: | function).  Example: | ||||||
| 
 | 
 | ||||||
| [fned]: http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#index-zed | [fned]: http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#index-zed | ||||||
|  | |||||||
| @ -744,7 +744,7 @@ _zsh_highlight_main_highlighter_highlight_list() | |||||||
|     # Analyse the current word. |     # Analyse the current word. | ||||||
|     if _zsh_highlight_main__is_redirection $arg ; then |     if _zsh_highlight_main__is_redirection $arg ; then | ||||||
|       if (( in_redirection == 1 )); then |       if (( in_redirection == 1 )); then | ||||||
|         # Two consecuive redirection operators is an error. |         # Two consecutive redirection operators is an error. | ||||||
|         _zsh_highlight_main_add_region_highlight $start_pos $end_pos unknown-token |         _zsh_highlight_main_add_region_highlight $start_pos $end_pos unknown-token | ||||||
|       else |       else | ||||||
|         in_redirection=2 |         in_redirection=2 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Mario P. Cardenas
						Mario P. Cardenas