kevinhwang91 / rnvimr

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

Error when start with `nvim ./` when hijacking netrw #98

Closed glyh closed 2 years ago

glyh commented 2 years ago

Features: +acl +iconv +tui

- Operating system/version:

Linux arch 5.15.12-arch1-1 #1 SMP PREEMPT Wed, 29 Dec 2021 12:04:56 +0000 x86_64 GNU/Linux

- `nvim +'checkhealth rnvimr'`: 

rnvimr: health#rnvimr#check

OS

Ranger

Python

Pynvim

Ueberzug (optional)

RPC

Steps to reproduce the behavior:

  1. use the following config;
mini init.lua ```lua require('packer').startup({function(use) use 'wbthomason/packer.nvim' use {'kevinhwang91/rnvimr', config = function () vim.g.rnvimr_enable_ex = 1 vim.g.rnvimr_enable_picker = 1 end } end}) ```
  1. Update all plugins, run nvim ./ to call ranger on start up
  2. Select some files and open

Expected behavior No error messages

Screenshots If applicable, add screenshots to help explain your problem. image

kevinhwang91 commented 2 years ago

Thanks, fixed now.