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

feat(picker): allow appending original window <cWORD>, <cfile> and cursor line to prompt #3134

Merged

Conversation

younger-1
Copy link
Contributor

@younger-1 younger-1 commented May 23, 2024

Description

Store the <cWORD>, <cfile> and cursor line of the original window before showing up telescope window, and create new action to insert/append the them into the telescope prompt buffer.

Allows for similar behaviors to c_CTRL-R_CTRL-W.
follows: #2878

Type of change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

Checklist:

  • My code follows the style guidelines of this project (stylua)
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (lua annotations)

Copy link
Contributor

@jamestrew jamestrew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you try rebasing and force-pushing? I want to see if that can help with the docgen ci failing.

lua/telescope/mappings.lua Outdated Show resolved Hide resolved
@younger-1 younger-1 force-pushed the young/feat/add-cWORD-and-cline branch from f09aa2e to 474ee47 Compare May 26, 2024 06:46
@younger-1 younger-1 changed the title feat(picker): allow appending original window <cWORD> and cursor line to prompt feat(picker): allow appending original window <cWORD>, <cfile> and cursor line to prompt May 26, 2024
@younger-1
Copy link
Contributor Author

Can you try rebasing and force-pushing? I want to see if that can help with the docgen ci failing.

Done. docgen ci passed

…line) to prompt

Change-Id: I783eb105975e3720a268533269400dc8d0778d41
Change-Id: I8dffb8bf7cfd5eae41522840a12d0d91af8dc9ed
Change-Id: I0a69a24a89bfebeda6bb68cb8d3bc7aa174dbf77
Change-Id: Ia58ffac8bd1973ed08b99436a6adeb196dbba438
@younger-1 younger-1 force-pushed the young/feat/add-cWORD-and-cline branch from 55ba382 to 4d6210a Compare May 27, 2024 13:01
@Conni2461
Copy link
Member

it seems like docgen is still not generating docs for none maintainers. Ill do it manually.

thanks for the PR :)

@Conni2461 Conni2461 merged commit 2df5260 into nvim-telescope:master May 27, 2024
12 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