Skip to content

Conversation

not-omer
Copy link
Contributor

@not-omer not-omer commented Apr 16, 2025

Overview

Fix broken paste in vi-mode. (#1700)

  • We are not correctly handling the case when (get-clipboard-data) returns nil.
  • (get-clipboard-data) was erroneously returning a SB-SYS:INT-SAP alongside the clipboard string which was being passed into vi-paste-before/after instead of a :type.

Testing

  • make
  • Open new buffer in vi-mode
  • Press p to yank
  • No more backtrace

We are not correctly handling the case when `(get-clipboard-data)` returns nil. `(get-clipboard-data)` was also erroneously returning a SB-SYS:INT-SAP alongside the clipboard string which was being passed into vi-mode's paste-yank function.
@cxxxr cxxxr merged commit ec6392c into lem-project:main Apr 24, 2025
@cxxxr
Copy link
Member

cxxxr commented Apr 24, 2025

Thank you for your PR.
I apologize for the delay in responding.

@not-omer not-omer deleted the fix-1700 branch April 25, 2025 05:46
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.

2 participants