aboutsummaryrefslogtreecommitdiff
path: root/contrib/completion/hx.zsh
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.zsh
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.zsh')
-rw-r--r--contrib/completion/hx.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/completion/hx.zsh b/contrib/completion/hx.zsh
index 16631519..f9d58d3c 100644
--- a/contrib/completion/hx.zsh
+++ b/contrib/completion/hx.zsh
@@ -14,6 +14,8 @@ _hx() {
"--health[Checks for errors in editor setup]:language:->health" \
"-g[Fetches or builds tree-sitter grammars]:action:->grammar" \
"--grammar[Fetches or builds tree-sitter grammars]:action:->grammar" \
+ "--vsplit[Splits all given files vertically into different windows]" \
+ "--hsplit[Splits all given files horizontally into different windows]" \
"*:file:_files"
case "$state" in