fork/helix
git clone https://git.julia.blue/fork/helix
c2782568
master
1#!/usr/bin/env fish 2# Fish completion script for Helix editor 3 4complete -c hx -s h -l help -d"Prints help information" 5complete -c hx -l tutor -d"Loads the tutorial" 6complete -c hx -l health -xa"(__hx_langs_ops)" -d"Checks for errors" 7complete -c hx -l health -xka all -d"Prints all diagnostic informations" 8complete -c hx -l health -xka all-languages -d"Lists all languages" 9complete -c hx -l health -xka languages -d"Lists user configured languages" 10complete -c hx -l health -xka clipboard -d"Prints system clipboard provider" 11complete -c hx -s g -l grammar -x -a"fetch build" -d"Fetch or build tree-sitter grammars" 12complete -c hx -s v -o vv -o vvv -d"Increases logging verbosity" 13complete -c hx -s V -l version -d"Prints version information" 14complete -c hx -l vsplit -d"Splits all given files vertically" 15complete -c hx -l hsplit -d"Splits all given files horizontally" 16complete -c hx -s c -l config -r -d"Specifies a file to use for config" 17complete -c hx -l log -r -d"Specifies a file to use for logging" 18complete -c hx -s w -l working-dir -d"Specify initial working directory" -xa"(__fish_complete_directories)" 19 20function __hx_langs_ops 21hx --health all-languages| tail -n'+2' | string replace -fr'^(\S+) .*' '$1' 22end