adelarsq / image_preview.nvim

Image Preview for Neovim 🖼
MIT License
147 stars 11 forks source link

Nothing happens when I press <leader>p #2

Open tempegarit opened 1 year ago

tempegarit commented 1 year ago

Problems When I press <leader>p on an image file on nvim-tree, nothing happens.

Machine WSL windows 10

adelarsq commented 1 year ago

@tempegarit Thanks for the report.

Which output is showed on the nvim-tree window for the command :verbose map <leader>p?

Also it relies at moment on PowerShel. Do you already have it installed?

tempegarit commented 1 year ago

The output for the command :verbose map <leader>p: n <Space>p @:lua require('image_preview').PreviewImage()<CR> Last set from Lua

It relies on PowerShell

Did you mean this? Screenshot 2022-10-16 065011

But what powershell have to do with it? I use WSL (windows subsystem for linux) windows 10.

adelarsq commented 1 year ago

I use WSL (windows subsystem for linux) windows 10.

Oh that is why. Will be necessary some changes on the plugin to use on WSL. I will keep this issue as a feature request.

tempegarit commented 1 year ago

Thanks!