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

`set termguicolors` causes rnvimr to display incorrect colors #67

Closed AkashKarnatak closed 3 years ago

AkashKarnatak commented 3 years ago

nvim-version - 0.4.4 OS - Debian Buster Terminal - Konsole Terminal theme - Monokai

rnvimr does not use same colors as ranger after adding this line set termguicolors to init.vim.

Ranger in terminal

Screenshot from 2021-01-07 02-03-15

Ranger inside neovim

Screenshot from 2021-01-07 02-03-30

kevinhwang91 commented 3 years ago

0.4.4 nvim don't support terminal base 16 color them, there are two ways to make ranger more sexy inside neovim:

  1. manual set terminal colors like let g:terminal_color_4 = '#ff0000', you can run :help terminal-config for more details;
  2. upgrade neovim to 0.5 version, and make sure g:terminal_color_x is undefined.