fork/helix
git clone https://git.julia.blue/fork/helix
5467c65f
24.03
1#!/usr/bin/env fish 2# Fish completion script for Helix editor 3 4set -l langs( hx --health| tail -n'+7' | awk '{print $1}' | sed 's/\x1b\[[0-9;]*m//g' ) 5 6complete -c hx -s h -l help -d"Prints help information" 7complete -c hx -l tutor -d"Loads the tutorial" 8complete -c hx -l health -x -a" $langs " -d"Checks for errors in editor setup" 9complete -c hx -s g -l grammar -x -a"fetch build" -d"Fetches or builds tree-sitter grammars" 10complete -c hx -s v -o vv -o vvv -d"Increases logging verbosity" 11complete -c hx -s V -l version -d"Prints version information" 12complete -c hx -l vsplit -d"Splits all given files vertically into different windows" 13complete -c hx -l hsplit -d"Splits all given files horizontally into different windows" 14complete -c hx -s c -l config -r -d"Specifies a file to use for completion" 15complete -c hx -l log -r -d"Specifies a file to write log data into"