Comments (23)
Can you try it now?
from clipboard-image.nvim.
Sorry for the late reply. I actually want to add support for wsl in #21 but I can't test it since I don't have windows in my device.
I will fix the conflict soon and after that can you try it?
from clipboard-image.nvim.
Ok I just fixed the merge conflict. You can test #21 now
Oh if you use packer just do
use {"ekickx/clipboard-image.nvim", branch = "feat_WSL"}
from clipboard-image.nvim.
I use vim-plug for plugin manager, and I install this branch by Plug 'ekickx/clipboard-image.nvim', { 'branch': 'feat_WSL' }
But same error again
from clipboard-image.nvim.
clipboard-image: require("clipboard-image.health").check()
========================================================================
## Checking dependencies
- ERROR: platform is not supported
from clipboard-image.nvim.
additional info:
when run uname -a
in wsl, the output is Linux xxxxxxxx 15 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
from clipboard-image.nvim.
and the content of /proc/version
is Linux version 5.10.102.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Wed Mar 2 00:30:59 UTC 2022
from clipboard-image.nvim.
when just run uname
, the output is Linux
from clipboard-image.nvim.
Ok just to make sure, can you show me the output of this command
:lua print(vim.inspect(vim.fn.readfile("/proc/version")))
from clipboard-image.nvim.
Ok just to make sure, can you show me the output of this command
:lua print(vim.inspect(vim.fn.readfile("/proc/version")))
{ "Linux version 5.10.102.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Wed Mar 2 00:30:59 UTC 2022" }
from clipboard-image.nvim.
I just pushed a new change. Can you try it now?
from clipboard-image.nvim.
I just pushed a new change. Can you try it now?
It shows powershell is not installed
, but I already add powershell.exe into PATH.
Maybe need change powershell
to powershell.exe
?
from clipboard-image.nvim.
Hmm weird 🤔. In check_package_installed
, I use vim.fn.executable
to check for powershell.exe
. Maybe you can do
:lua print(vim.fn.executable("powershell.exe"))
If the output is not 1
then there is something wrong
from clipboard-image.nvim.
Hmm weird 🤔. In
check_package_installed
, I usevim.fn.executable
to check forpowershell.exe
. Maybe you can do:lua print(vim.fn.executable("powershell.exe"))
If the output is not
1
then there is something wrong
the output is 1
from clipboard-image.nvim.
Oh, maybe the path is wrong, powershell is ok now
from clipboard-image.nvim.
So is it ok now? Tell me if it's still not working
from clipboard-image.nvim.
It shows There is no image data in clipboard
from clipboard-image.nvim.
Have you copied the image? If you have and those error still appear than I did something wrong to check the clipboard's content
from clipboard-image.nvim.
yes, i copied the image in win10, and want to paste in WSL2
from clipboard-image.nvim.
Ahh I think I know what's wrong here. I forgot to check clipboard's content on WSL. My bad
from clipboard-image.nvim.
Can you try it now?
It's OK now!
from clipboard-image.nvim.
Really thx for your efforts!
from clipboard-image.nvim.
You're welcome. And thanks too for helping me fixing this issue. I'll merge #21 now
from clipboard-image.nvim.
Related Issues (20)
- [FR] Allow `affix` to be multi-lined HOT 7
- Can't post image in new file(unsave file) HOT 2
- Create img_dir at the same level as this file HOT 11
- Way to use hidden directory for img_dir HOT 1
- [Mac OS] No sensible error message when pngpaste is not installed
- `ERROR: platform is not supported` on Linux with xclip installed HOT 5
- [Enhancement] Should Allow Use Multiple "%s" and Quotes `"` in Affix HOT 4
- The configuration doesn't work after I config this plugin. HOT 1
- relative path base on file editing? HOT 4
- Missing parentheses Error HOT 4
- There is no image data in clipboard
- Could this be adapted to insert arbitrary files and not just images?
- Usage on Windows 10
- Not working under WSL2 (tcgetpgrp failed: Not a tty) HOT 8
- Can't load pictures on md
- module 'health' not found HOT 7
- Checkhealth not working HOT 2
- Check health shows an error even if add health file with related content HOT 4
- How to config HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clipboard-image.nvim.