Commit dd89bd72 authored by Frank Terbeck's avatar Frank Terbeck

hl,complete: Make "none" a theme suggestion

highlight doesn't support it, but the wrapper will fallback to just
using cat or a pager if it sees that value.
parent 83c5dd20
......@@ -4,6 +4,7 @@ function _hl_themes() {
local expl
local -a themes
themes=(${${${(f)"$(LC_ALL=C highlight --list-themes)"}/ #/}:#*(Installed|Use name)*})
themes+=( none )
_wanted -C list themes expl theme compadd ${themes}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment