zsh-users / zsh-syntax-highlighting

Fish shell like syntax highlighting for Zsh.
github.com/zsh-users/zsh-syntax-highlighting
BSD 3-Clause "New" or "Revised" License
19.55k stars 1.32k forks source link

Defining a function without the keyword `function` highlights its identifier as unknown/error #891

Closed Iskustvo closed 1 year ago

Iskustvo commented 1 year ago

Steps to reproduce:

Versions:

zsh - 5.9-1
zsh-syntax-highlighting - 0.7.1-1
danielshahaf commented 1 year ago

Duplicate of https://github.com/zsh-users/zsh-syntax-highlighting/issues/223. (Though to be fair, I remembered that issue was labeled needs:lookahead, so it was easy for me to find it.)

Iskustvo commented 1 year ago

Duplicate of #223. (Though to be fair, I remembered that issue was labeled needs:lookahead, so it was easy for me to find it.)

Fair enough. Why not close this one then?