jj/cli
Yuya Nishihara 200581164e completion: pad empty argument at $_CLAP_COMPLETE_INDEX
This is a workaround for command name completion. On zsh, the complete position
is specified by $_CLAP_COMPLETE_INDEX, and an empty argument isn't padded. So,
for "jj <TAB>", { args = ["jj"], index = 1 } is provided, and our expand_args()
helpfully fills in the default command "log". Since args[index] is now "log",
no other commands are listed.
2024-11-18 17:06:24 +09:00
..
examples revset: reorganize expression resolution/evaluation methods 2024-11-08 10:34:02 +09:00
src completion: pad empty argument at $_CLAP_COMPLETE_INDEX 2024-11-18 17:06:24 +09:00
testing style: inline variables into format strings 2024-10-04 22:29:13 +02:00
tests completion: pad empty argument at $_CLAP_COMPLETE_INDEX 2024-11-18 17:06:24 +09:00
build.rs build: fix cargo publish by symlinking cli/docs->docs 2024-11-05 17:37:14 -08:00
Cargo.toml cargo: whitespace cleanup, sort dependencies 2024-11-14 22:38:04 +09:00
docs build: fix cargo publish by symlinking cli/docs->docs 2024-11-05 17:37:14 -08:00
LICENSE cargo: add LICENSE file to each crate we publish 2023-09-22 21:48:28 -07:00