zsh-users/zsh-syntax-highlighting — pull request #115 by Valodim (2013-07-25 02:52:13+00:00)
Title: add separate path_prefix and path_approx hilights

this patch allows setting different display styles for a word which is a path prefix and - newnewnew - a word which is an approximate path prefix.

been using and loving this for a while now, thought I'd share.