syntax: Fix template keywords not always being highlighted

Fixes #27