Commit graph

8230 commits

Author SHA1 Message Date
Ed Page
6556ad7e3b chore: Update from _rust template 2024-09-26 21:15:28 -05:00
Ed Page
35fcbb7972
Merge pull request #24 from epage/pre-commit
chore: Ensure pre-commit gets non-system Python
2024-09-26 22:15:00 -04:00
Ed Page
6e193aa09a chore: Ensure pre-commit gets non-system Python
This is needed with the ubuntu-24.04 images so that `setup-python` will
install a version of Python that the pre-commit action can install into.

See pre-commit/action#210 for more of an analysis of this.
2024-09-26 21:10:02 -05:00
Ed Page
8a35018b93
Merge pull request #5750 from armandas/master
docs: fix small error in Arg::raw
2024-09-26 21:40:57 -04:00
Armandas Jarušauskas
6ffdd32d87
docs: fix small error in Arg::raw 2024-09-27 10:24:03 +09:00
Ed Page
1c0e602d80
Merge pull request #5744 from shannmu/elvish_doc_fix
doc(complete): Fix how to add completions in elvish
2024-09-21 17:37:43 -04:00
shanmu
7df66be695 doc(complete): Fix how to add completions in elvish 2024-09-22 03:48:50 +08:00
Ed Page
1f74b0178d chore: Release 2024-09-20 15:05:01 -05:00
Ed Page
23feee1c13 docs: Update changelog 2024-09-20 15:04:54 -05:00
Ed Page
ae1457b34a chore(complete): Update require clap 2024-09-20 15:02:49 -05:00
Ed Page
0d142f6c04 chore: Release 2024-09-20 15:01:33 -05:00
Ed Page
0facf1f370 docs: Update changelog 2024-09-20 15:00:58 -05:00
Ed Page
ee6af99c6c
Merge pull request #5743 from epage/sort
fix(complete): Sort by display order
2024-09-20 15:57:37 -04:00
Ed Page
232ee10661 fix(complete): Use existing display order for Arg/Command 2024-09-20 14:45:54 -05:00
Ed Page
c6b5d627a0 feat(builder): Expose get_display_order 2024-09-20 14:43:16 -05:00
Ed Page
67d9fef9ce feat(complete): Give control over display order 2024-09-20 14:39:18 -05:00
Ed Page
59a61e188f refactor(complete): Pull out common candidate code 2024-09-20 14:36:07 -05:00
Ed Page
1448791940 fix(complete): Specify tags for built-in candiates 2024-09-20 14:29:05 -05:00
Ed Page
a4aa5dffdf feat(complete): Group by tag 2024-09-20 14:04:40 -05:00
Ed Page
a126149a80 refactor(complete): Remove redundant dedup
Our `id` de-duping takes care of this.
2024-09-20 13:59:16 -05:00
Ed Page
2450ca7995
Merge pull request #5741 from epage/complete-short
fix(complete): When completing -[TAB], prioritize shorts
2024-09-20 14:56:03 -04:00
Ed Page
cd6280fc87 fix(complete): Have shorts fallback to using long as description
It should be rare that this is helpful
2024-09-20 13:43:23 -05:00
Ed Page
8af051c439 fix(complete): When completing -[TAB], prioritize shorts 2024-09-20 13:43:23 -05:00
Ed Page
7422785a85 refactor(complete): Merge argument handling 2024-09-20 13:43:23 -05:00
Ed Page
6b426dfd70 test(complete): Add another sort/filter case 2024-09-20 13:43:12 -05:00
Ed Page
8b88646129 style: Format test 2024-09-20 13:42:50 -05:00
Ed Page
3af629a141
Merge pull request #5740 from epage/complete-id
fix(complete): De-duplicate built-in candidates
2024-09-20 14:27:41 -04:00
Ed Page
89a9d79a4c fix(complete): De-duplicate built-in candidates
Part of #5058
2024-09-20 11:07:17 -05:00
Ed Page
7b06d9a358 feat(complete): Allow de-duplicating of candidates 2024-09-20 11:07:01 -05:00
Ed Page
3bcc7f806d
Merge pull request #5739 from epage/snap
fix(complete): Prioritize subcommands, positionals over flags
2024-09-20 12:01:22 -04:00
Ed Page
2bd2c1262e fix(complete): Prioritize subcommands, positionals over flags 2024-09-20 10:37:53 -05:00
Ed Page
d32b1fc52d test(complete): Add sort/filter test 2024-09-20 10:37:25 -05:00
Ed Page
e08f7db03f test(complete): Fix snapshot macro 2024-09-20 10:37:15 -05:00
Ed Page
5b2912b63e fix(complete): Improve completion debugging 2024-09-20 10:37:15 -05:00
Ed Page
75efece802
Merge pull request #5735 from epage/xixishidibei
chore: add the missing symbol
2024-09-18 09:38:04 -04:00
xixishidibei
6f07cf1189 chore: add the missing symbol
Signed-off-by: xixishidibei <xixishidibei@outlook.com>
2024-09-18 16:12:56 +08:00
Ed Page
257d7812b9 chore: Release 2024-09-17 16:12:36 -05:00
Ed Page
06c5f5f329 docs: Update changelog 2024-09-17 16:12:29 -05:00
Ed Page
6ac153557c
Merge pull request #5733 from epage/bin
fix(complete): Strip wrappers for running completer
2024-09-17 17:10:30 -04:00
Ed Page
a7a8f93d6b fix(complete): Strip wrappers for running completer 2024-09-17 15:47:46 -05:00
Ed Page
b2c8e445aa feat(complete): Allow user to override bin/completer 2024-09-17 15:43:53 -05:00
Ed Page
21c9892efe chore: Release 2024-09-17 15:34:35 -05:00
Ed Page
0c8bceb3e9 docs: Update changelog 2024-09-17 15:34:27 -05:00
Ed Page
d8f102a18c
Merge pull request #5732 from epage/consistent
docs(complete): Clarify CompleteEnv's Shell trait
2024-09-17 16:33:37 -04:00
Ed Page
c92fca3a8f docs(complete): Clarify CompleteEnv's Shell trait 2024-09-17 15:16:32 -05:00
Ed Page
5ca60e9079
Merge pull request #5731 from epage/bash
fix(complete): Adjust how IFS is passed to clap
2024-09-17 16:16:00 -04:00
Ed Page
5d7c16c60e fix(complete): Adjust how IFS is passed to clap
No idea why using passing along `IFS` isn't workong on my machine (but is for tests).

Fixes #5730
2024-09-17 14:54:11 -05:00
Ed Page
df1efca035 chore: Release 2024-09-05 09:18:05 -05:00
Ed Page
d48bef65af docs: Update changelog 2024-09-05 09:17:58 -05:00
Ed Page
6b7aa3d490
Merge pull request #5628 from mart-mihkel/complete_hyphen
Support `allow_hyphen_values` in native completions
2024-09-05 09:17:05 -05:00