mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
Various fixes from the completion merge
This commit is contained in:
parent
97716fea8b
commit
262e2fb7a3
8 changed files with 15 additions and 9 deletions
|
|
@ -113,7 +113,7 @@ func complete_word(word string, completions *Completions, only_args_allowed bool
|
|||
}
|
||||
}
|
||||
}
|
||||
if !cmd.SubCommandMustBeFirst && cmd.ArgCompleter != nil {
|
||||
if cmd.SubCommandIsOptional && cmd.ArgCompleter != nil {
|
||||
cmd.ArgCompleter(completions, word, arg_num)
|
||||
}
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue