@@ -0,0 +1,29 @@
2+# Zsh completion script for Helix editor
6+ "-h[Prints help information]" \
7+ "--help[Prints help information]" \
8+ "-v[Increase logging verbosity]" \
9+ "-vv[Increase logging verbosity]" \
10+ "-vvv[Increase logging verbosity]" \
11+ "-V[Prints version information]" \
12+ "--version[Prints version information]" \
13+ "--tutor[Loads the tutorial]" \
14+ "--health[Checks for errors in editor setup]:language:->health" \
15+ "-g[Fetches or builds tree-sitter grammars]:action:->grammar" \
16+ "--grammar[Fetches or builds tree-sitter grammars]:action:->grammar" \
21+ local languages=($(hx --health |tail -n '+7' |awk '{print $1}' |sed 's/\x1b\[[0-9;]*m//g'))
22+ _values 'language' $languages
25+ _values 'action' fetch build