kevinhwang91 / rnvimr

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

The preview text in light themes is unreadable #121

Closed Jeaciaz closed 2 years ago

Jeaciaz commented 2 years ago

Ranger

Python

Pynvim

Ueberzug (optional)

RPC

To Reproduce using nvim -u mini.vim Example: cat mini.vim

" use your plugin manager, here is `vim-plug`
call plug#begin('~/.config/nvim/plugged')
Plug 'kevinhwang91/rnvimr'
Plug 'ellisonleao/gruvbox.nvim'
colorscheme gruvbox
set background=light
let g:rnvimr_vanilla = 1
tnoremap <silent> <M-i> <C-\><C-n>:RnvimrResize<CR>
nnoremap <silent> <M-o> :RnvimrToggle<CR>
tnoremap <silent> <M-o> <C-\><C-n>:RnvimrToggle<CR>
call plug#end()

Steps to reproduce the behavior:

  1. Create a .txt file with any contents;
  2. Open Neovim with mini.vim provided above;
  3. Hover over the .txt file from 1.;
  4. See that all text is white and undiscernable.

Expected behavior A clear to read text using whatever theme the user prefers.

Screenshots

image image

Additional context Add any other context about the problem here.

kevinhwang91 commented 2 years ago

Depend on your previewer theme in ranger.

Jeaciaz commented 2 years ago

But in my terminal ranger it's all right, although colorless. Where does the color difference come from?

kevinhwang91 commented 2 years ago

https://github.com/kevinhwang91/rnvimr/issues/67