aboutsummaryrefslogtreecommitdiff
path: root/contrib/completion/hx.fish
diff options
context:
space:
mode:
authorplexom2022-07-01 09:27:32 +0000
committerGitHub2022-07-01 09:27:32 +0000
commitf10b6f6ee2bbf4d6d9356e27be25b25bdb85b9cd (patch)
treed6a949fcd15c85b9a682edf8559ca821b7c0b340 /contrib/completion/hx.fish
parent15d96c843aca5b87fde26faf6c556265402c32c1 (diff)
adds --vsplit and --hsplit arguments (#2773)
* adds --vsplit and --hsplit arguments * moved comment * fixed lint (third time's a charm) * changed vsplit and hsplit from two separate bools to type Option<Layout>, and some cleanup
Diffstat (limited to 'contrib/completion/hx.fish')
-rw-r--r--contrib/completion/hx.fish3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/completion/hx.fish b/contrib/completion/hx.fish
index 4ec690d8..df2fb500 100644
--- a/contrib/completion/hx.fish
+++ b/contrib/completion/hx.fish
@@ -9,4 +9,5 @@ complete -c hx -l health -x -a "$langs" -d "Checks for errors in editor setup"
complete -c hx -s g -l grammar -x -a "fetch build" -d "Fetches or builds 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"
-
+complete -c hx -l vsplit -d "Splits all given files vertically into different windows"
+complete -c hx -l hsplit -d "Splits all given files horizontally into different windows"