Skip to content

feat(#2312): fire TextYankPost event on path copy #2489

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

Merged
merged 5 commits into from
Oct 22, 2023

Conversation

Akmadan23
Copy link
Collaborator

Closes #2312.
I was browsing "PR please" issues and I noticed this one. If I understood it correctly this small addition should be sufficient.

Copy link
Member

@alex-courtis alex-courtis left a comment

Choose a reason for hiding this comment

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

Love you work, tested OK after suggestion:

[2023-10-22 10:49:35] [dev] TextYankPost
data={
  buf = 2,
  event = "TextYankPost",
  file = "/home/alex/src/linux/NvimTree_1",
  id = 3,
  match = "/home/alex/src/linux/NvimTree_1"
}
event=vim.empty_dict()

@alex-courtis
Copy link
Member

Many thanks Akmadan23

@alex-courtis alex-courtis merged commit c2194e9 into master Oct 22, 2023
@alex-courtis alex-courtis deleted the 2312-yank-event-on-path-copy branch October 22, 2023 21:56
alex-courtis added a commit that referenced this pull request Oct 30, 2023
)

* fix(#2467): remove newline in git paths

* fix: info size suffix and formatting (#2492)

- Now there is a whitespace between value and unit.
- Now values >= 1024 YiB are shown in YiB instead of B.
- To reuse same code a new local function was added: round().

* feat(#2312): fire `TextYankPost` event on path copy (#2489)

* feat(#2312): fire `TextYankPost` event on path copy

* stylua

* Bug fix

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>

* feat: mapping and options to sort entries in help window (#2482)

* feat: add option to sort entries in help window

* stylua

* Add keymap to toggle sorting methods

* Bug fix

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>

* fix(#2467): remove newline in git paths

* fix(#2467): change cygpath calls to array format
To avoid shell compatibility issues in msys2 environment on Windows

* stylua nit

---------

Co-authored-by: Alexander Courtis <alex@courtis.org>
Co-authored-by: Andrew Voynov <37143421+Andrew15-5@users.noreply.github.com>
Co-authored-by: Azad <49314270+Akmadan23@users.noreply.github.com>
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.

Event: ClipboardCopied
2 participants