noop: Follow-up to last: improve readability.
This commit is contained in:
		
							parent
							
								
									a59f442d2d
								
							
						
					
					
						commit
						28abb960de
					
				|  | @ -278,10 +278,11 @@ _zsh_highlight_main_highlighter() | ||||||
|                           # is how [[ ... ]] is highlighted, too. |                           # is how [[ ... ]] is highlighted, too. | ||||||
|                           style=$ZSH_HIGHLIGHT_STYLES[reserved-word] |                           style=$ZSH_HIGHLIGHT_STYLES[reserved-word] | ||||||
|                           _zsh_highlight_main_add_region_highlight $start_pos $((start_pos + 2)) $style |                           _zsh_highlight_main_add_region_highlight $start_pos $((start_pos + 2)) $style | ||||||
|  |                           already_added=1 | ||||||
|                           if [[ $arg[-2,-1] == '))' ]]; then |                           if [[ $arg[-2,-1] == '))' ]]; then | ||||||
|                             _zsh_highlight_main_add_region_highlight $((end_pos - 2)) $end_pos $style |                             _zsh_highlight_main_add_region_highlight $((end_pos - 2)) $end_pos $style | ||||||
|                           fi |  | ||||||
|                             already_added=1 |                             already_added=1 | ||||||
|  |                           fi | ||||||
|                         elif [[ $arg == '()' || $arg == $'\x28' ]]; then |                         elif [[ $arg == '()' || $arg == $'\x28' ]]; then | ||||||
|                           # anonymous function |                           # anonymous function | ||||||
|                           # subshell |                           # subshell | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue