mhartington / oceanic-next

Oceanic Next theme for neovim
Other
1.13k stars 141 forks source link

Directory color faded in terminal with true color #62

Closed bronzehedwick closed 6 years ago

bronzehedwick commented 6 years ago

Problems summary

Opening a Neovim terminal with set termguicolors enabled results in a very faded directory color, almost indistinguishable from the file color.

Expected

Directory colors are distinct from the file color, like they are without set termguicolors.

Environment Information

Provide a minimal vim rc with less than 50 lines (Required!)

set runtimepath+=~/.config/nvim/plugged/oceanic-next
set termguicolors
colorscheme OceanicNext

The reproduce ways from neovim starting

  1. Start a new terminal: :terminal
  2. List some files/directories: ls

Screen shots

With true color enabled

true-color

With true color disabled

no-true-color

mhartington commented 6 years ago

Hmm, good catch. I think the xterm color codes are probably off. I'll have to take some time and try to get the correct values.

bronzehedwick commented 6 years ago

Seems like there's a related issue in Neovim that might be playing into this: https://github.com/neovim/neovim/issues/4696

I tried removing all the terminal color codes from the theme, and it works in that the xterm defaults are passed in. It looks like this:

screen shot 2017-12-14 at 3 08 35 pm