Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'contrib/completion/hx.fish')
-rw-r--r--contrib/completion/hx.fish6
1 files changed, 5 insertions, 1 deletions
diff --git a/contrib/completion/hx.fish b/contrib/completion/hx.fish
index f05dba8d..d7ce7e89 100644
--- a/contrib/completion/hx.fish
+++ b/contrib/completion/hx.fish
@@ -4,6 +4,10 @@
complete -c hx -s h -l help -d "Prints help information"
complete -c hx -l tutor -d "Loads the tutorial"
complete -c hx -l health -xa "(__hx_langs_ops)" -d "Checks for errors"
+complete -c hx -l health -xka all -d "Prints all diagnostic informations"
+complete -c hx -l health -xka all-languages -d "Lists all languages"
+complete -c hx -l health -xka languages -d "Lists user configured languages"
+complete -c hx -l health -xka clipboard -d "Prints system clipboard provider"
complete -c hx -s g -l grammar -x -a "fetch build" -d "Fetch or build tree-sitter grammars"
complete -c hx -s v -o vv -o vvv -d "Increases logging verbosity"
complete -c hx -s V -l version -d "Prints version information"
@@ -14,5 +18,5 @@ complete -c hx -l log -r -d "Specifies a file to use for logging"
complete -c hx -s w -l working-dir -d "Specify initial working directory" -xa "(__fish_complete_directories)"
function __hx_langs_ops
- hx --health languages | tail -n '+2' | string replace -fr '^(\S+) .*' '$1'
+ hx --health all-languages | tail -n '+2' | string replace -fr '^(\S+) .*' '$1'
end