The distribution packages both, so they are installed as packages rather than cloned or vendored (novox/hq ADR 0205). Each contributes the line that loads the package's own copy, from the path the Arch package installs, to a slot of the login shell's block (ADR 0204). Syntax highlighting goes in last, as its upstream asks.