kevinhwang91 / rnvimr

Make Ranger running in a floating window to communicate with Neovim via RPC
BSD 3-Clause "New" or "Revised" License
800 stars 17 forks source link

Rnvimr couldn't find ranger executable installed by pip3 #129

Closed LorNtz closed 1 year ago

LorNtz commented 1 year ago

I have installed ranger-fm and pynvim before installing rnvimr:

❯ pip3 show ranger-fm
Name: ranger-fm
Version: 1.9.3
Summary: Vim-like file manager
Home-page: https://ranger.github.io
Author: Roman Zimbelmann
Author-email: hut@hut.pm
License: GPL3
Location: ~/Library/Python/3.8/lib/python/site-packages
Requires: 
Required-by:

❯ pip3 show pynvim
Name: pynvim
Version: 0.4.3
Summary: Python client to neovim
Home-page: http://github.com/neovim/pynvim
Author: Thiago de Arruda
Author-email: tpadilha84@gmail.com
License: Apache
Location: ~/Library/Python/3.8/lib/python/site-packages
Requires: greenlet, msgpack
Required-by:

When I install rnvimr and run :RnvimrToggle I got:

Error occurs when processing function rnvimr#toggle[13]..<SNR>56_reopen_win
at line 7:
E900: Invalid channel id

When I run :checkhealth rnvimr I got:

rnvimr: health#rnvimr#check
========================================================================
  - ERROR: Failed to run healthcheck for "rnvimr" plugin. Exception:
    function health#check[20]..health#rnvimr#check[2]..<SNR>76_check_python_ranger,line 2
    Vim(let):E475: Invalid value for argument cmd: 'ranger' is not executable
kevinhwang91 commented 1 year ago

Need to set up your ranger full path manually, :h g:rnvimr_ranger_cmd .