Skip to content

fix(telescope): respect copy_to_clipboard in extensions - #26

Merged
2KAbhishek merged 1 commit into
2KAbhishek:mainfrom
SAY-5:fix/telescope-copy-to-clipboard
May 13, 2026
Merged

fix(telescope): respect copy_to_clipboard in extensions#26
2KAbhishek merged 1 commit into
2KAbhishek:mainfrom
SAY-5:fix/telescope-copy-to-clipboard

Conversation

@SAY-5

@SAY-5 SAY-5 commented May 12, 2026

Copy link
Copy Markdown
Contributor

Closes #25.

The Telescope nerdy and nerdy_recents extensions always called vim.api.nvim_put on selection, ignoring the copy_to_clipboard config. Mirrors the existing behavior in fetcher.lua single_select/multi_select so both pickers honor copy_to_clipboard and copy_register.

The Telescope nerdy and nerdy_recents extensions ignored the
copy_to_clipboard config and always inserted the icon into the buffer.
Mirror the single_select/multi_select behavior from fetcher.lua so the
extensions honor copy_to_clipboard and copy_register.

Fixes 2KAbhishek#25

Signed-off-by: say <say.apm35@gmail.com>
@2KAbhishek

Copy link
Copy Markdown
Owner

Thanks for the fix!

@2KAbhishek
2KAbhishek self-requested a review May 13, 2026 08:20
@2KAbhishek
2KAbhishek merged commit da9701b into 2KAbhishek:main May 13, 2026
3 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.

[BUG]: copy_to_clipboard feature not inherited by Telescope implementation

2 participants