Merge pull request #100 from hchbaw/for-nicoulaj/pattern-local
make $pattern local to _zsh_highlight_pattern_highlighter #97
This commit is contained in:
		
						commit
						a0862053f5
					
				|  | @ -42,6 +42,7 @@ _zsh_highlight_pattern_highlighter_predicate() | |||
| _zsh_highlight_pattern_highlighter() | ||||
| { | ||||
|   setopt localoptions extendedglob | ||||
|   local pattern | ||||
|   for pattern in ${(k)ZSH_HIGHLIGHT_PATTERNS}; do | ||||
|     _zsh_highlight_pattern_highlighter_loop "$BUFFER" "$pattern" | ||||
|   done | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue