The problem is in /usr/share/source-highlight/zsh.lang. The keyword clause ends with a trailing vertical bar. If you remove that, zsh source highlighting will work. This bug is still in the latest version in the git repo (https://git.savannah.gnu.org/cgit/src- highlite.git/tree/src/zsh.lang).
There is some more information in the GNU bug report (https://savannah.gnu.org/bugs/?45299) ** Bug watch added: GNU Savannah Bug Tracker #45299 http://savannah.gnu.org/bugs/?45299 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578743 Title: source-highlight hangs when using zsh.lang languge definition To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/source-highlight/+bug/1578743/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs