trapd00r/zsh-syntax-highlighting-filetypes — pull request #2 by valeriangalliat (2014-03-29 21:20:42+00:00)
Title: Fixed case pattern matching for filetype highlighting.

The `$key` as case matching [at line 271](https://github.com/trapd00r/zsh-syntax-highlighting-filetypes/blob/f40fbe42ecad3079e40b9be8439957ab442c9965/zsh-syntax-highlighting-filetypes.zsh#L271) is not working for me on zsh 5.0.5.

The variable looking like `*.ext` is taken literally by the interpreter and not matching any file (resulting in no filetype highlighting).

This can be solved replacing the case with `*.$key[3,-1]` (looks quite hacky I recognise).