-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow file paths as input (#41)
* refactor(wip): refactor code so it can handle file paths as input * feat: call setup when plugin is loaded * feat: handle text/uri-list target * fix: add pasteImage function back * feat: support base64 embedding for file paths * feat: support base64 embedding for URLs * test: fix broken tests (missing paste_spec) * fix: luacheck * feat(clipboard): get content of clipboard for wayland, macos and windows * refactor: remove powershell arg from util.execute * feat(base64): add windows support for generating base64 images from file * test: add paste_image tests * feat: provide paste_image function along with pasteImage (legacy) * docs: provide docs for paste_image function * test: add tests for incomptabile os * chore: rename to "content is not an image" * fix: adjust powershell commands * fix: use pbpaste for mac * test: fix broken tests * docs: add new api method
- Loading branch information
1 parent
c93f0d6
commit 24cbf88
Showing
14 changed files
with
567 additions
and
533 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.