oxfist / night-owl.nvim

🦉 🌌 Night Owl colorscheme implementation for Neovim with support for Treesitter and semantic tokens
BSD 3-Clause "New" or "Revised" License
239 stars 15 forks source link

Neovide (Neovim GUI) Terminal Colors are not right #51

Closed ProHaller closed 4 days ago

ProHaller commented 1 month ago

Issue: Theme Colors Not Applied in Terminal on Neovide

I'm encountering an issue where the color theme is not properly applied when using a terminal or terminal-like plugins (e.g., LazyGit) within a GUI, specifically Neovide.

Steps to Reproduce:

  1. Install Neovide.
  2. Set your color theme to NightOwl in neovim.
  3. Open Neovide.
  4. Use :term to open an embedded terminal.

Expected Behavior:

The terminal should display colors that match the selected theme (NightOwl in this case).

Actual Behavior:

The terminal colors do not match the selected theme, leading to inconsistencies between the terminal in Neovide and other terminals like Kitty.

Additional Information:

It was suggested by a Neovide maintainer that this might be a theme issue. This could be related to the optional colors not being properly set from g:terminal_color_0 to g:terminal_color_15, as mentioned in the Neovim Manual.

Screenshots:

Here are some visual comparisons between the different terminals:

Is there a way to ensure that the theme colors are correctly applied in Neovide's terminal?

Thank you for your time and assistance.

ProHaller commented 1 month ago

Anybody to get an eye on this issue, or to guide me on how to fix it myself?

oxfist commented 1 month ago

@ProHaller thanks for creating this issue! Seems like it's definitely on me, as I haven't really defined any of the g:terminal_color_x colors nor validated the theme on a GUI-based Neovim.

Just to make sure I understand the context correctly, could you add the steps to reproduce this on Neovide? 🙏🏼

ProHaller commented 1 month ago

Thank you very much for taking the time to look up this issue.

I edited my original message to be a little more explicit, tell me if I can do anything more.

Ps: I did the test with another GUI (Goneovim) to check and I find the same the same issue: the theme is only applied in the main interface, the terminal ignores it.

oxfist commented 4 days ago

Closed by #52