Merge pull request #131 from MarkLodato/array-assignments
Properly highlight array assignments
This commit is contained in:
		
						commit
						8ac964186d
					
				|  | @ -153,7 +153,7 @@ _zsh_highlight_main_highlighter() | ||||||
| _zsh_highlight_main_highlighter_check_assign() | _zsh_highlight_main_highlighter_check_assign() | ||||||
| { | { | ||||||
|     setopt localoptions extended_glob |     setopt localoptions extended_glob | ||||||
|     [[ ${(Q)arg} == [[:alpha:]_]([[:alnum:]_])#=* ]] |     [[ $arg == [[:alpha:]_][[:alnum:]_]#(|\[*\])=* ]] | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| # Check if the argument is a path. | # Check if the argument is a path. | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue