ekickx / clipboard-image.nvim

Neovim Lua plugin to paste image from clipboard.
MIT License
309 stars 51 forks source link

Bugfix/wsl error #44

Open Ttayu opened 1 year ago

Ttayu commented 1 year ago

An error occurred when running PasteImg on WSL.
Also, is_clipboard_img was returning True when there is no images in the Clipboard.

=Get-Clipboard : The term '=Get-Clipboard' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ =Get-Clipboard -Format Image
+ ~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (=Get-Clipboard:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFound

Version