Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[compleseus] Devide search functions into 2 intial input variants #16416

Merged
merged 1 commit into from
May 30, 2024

Conversation

kenkangxgwe
Copy link
Contributor

Each consult search function now comes with two variants regarding initial input. They all initialize the input with region content if a region is active, but differ on whether an empty string or thing-at-point if a region is not active.

This change tries to mimic the search behaviors configured in helm layers. Thus the default empty variants are bound to lowercase keys, and the default thing-at-point variants are bound to uppercase keys.

Each consult search function now comes with two variants regarding initial
input. They all initialize the input with region content if a region is active,
but differ on whether an empty string or thing-at-point if a region is not
active.

This change tries to mimic the search behaviors configured in helm layers. Thus
the default empty variants are bound to lowercase keys, and the default
thing-at-point variants are bound to uppercase keys.
@kassick
Copy link
Contributor

kassick commented May 29, 2024

Ha! I ended up doing the same in in my config

@smile13241324 smile13241324 merged commit df7367c into syl20bnr:develop May 30, 2024
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants