3 function _hl_genarg() {
5 if [[ -prefix 1 *: ]] ; then
7 themes=(${${${(f)"$(LC_ALL=C highlight --list-themes)"}/ #/}:#*(Installed|Use name)*})
9 _wanted -C list themes expl theme compadd ${themes}
12 langs=(${${${(f)"$(LC_ALL=C highlight --list-langs)"}/ #/}:#*(Installed|Use name)*})
13 _wanted -C list languages expl languages compadd -S ':' -q ${langs}
17 _arguments -s '1: :_hl_genarg' '2:files:_path_files'