Skip to content

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

Merged
Conni2461 merged 5 commits into
nvim-telescope:masterfrom
younger-1:young/feat/add-cWORD-and-cline
May 27, 2024
Merged

feat(picker): allow appending original window <cWORD>, <cfile> and cursor line to prompt#3134
Conni2461 merged 5 commits into
nvim-telescope:masterfrom
younger-1:young/feat/add-cWORD-and-cline

Conversation

@younger-1
Copy link
Copy Markdown
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
Copy Markdown
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.

Comment thread lua/telescope/mappings.lua Outdated
@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
Copy Markdown
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

Comment thread lua/telescope/pickers.lua Outdated
younger-1 added 4 commits May 27, 2024 21:00
…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
Copy Markdown
Member

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

thanks for the PR :)

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.

3 participants