Commit graph

8316 commits

Author SHA1 Message Date
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
mart-mihkel
57b6cb8e47 refactor(complete): Simplify engine::complete 2024-09-05 15:15:22 +03:00
mart-mihkel
fbec05e639 refactor(complete): Fix typo in hyhpen 2024-09-05 15:15:18 +03:00
mart-mihkel
b7cfbdcf96 feat(complete): Native support for hyphen values 2024-09-05 15:15:14 +03:00
mart-mihkel
1d97c293ba test(complete): Test cases for allow_hyphen_values 2024-09-05 15:07:46 +03:00
Ed Page
64e3790461 chore: Release 2024-09-04 14:36:46 -05:00
Ed Page
1cf50c7754 docs: Update changelog 2024-09-04 14:36:38 -05:00
Ed Page
085143dc14
Merge pull request #5722 from epage/sort
fix(complete): Put clap in chage of Fish ordering
2024-09-04 14:34:33 -05:00
Ed Page
e2d336b95f fix(complete): Put clap in chage of Fish ordering 2024-09-04 14:28:03 -05:00
Ed Page
059db0c139 docs(complete): Clarify what flags we're using 2024-09-04 14:26:44 -05:00
Ed Page
19460ee00d chore: Release 2024-09-04 14:16:31 -05:00
Ed Page
4b42ce4023 docs: Update changelog 2024-09-04 14:15:57 -05:00
Ed Page
11920029dc
Merge pull request #5721 from epage/update
fix(help): Style arg groups
2024-09-04 14:14:21 -05:00
Ed Page
75365ad7d5 fix(help): Style arg groups 2024-09-04 14:07:59 -05:00
Ed Page
220597eb97 refactor: Clean up group formatting 2024-09-04 14:03:33 -05:00