Replies: 1 comment 3 replies
-
I think it's a great idea and I'm not aware that those themes had that functionality. I achieve this in my own dotfiles through a somewhat clunky method so would be very keen if you could share how those theme's are facilitating this. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Many Neovim themes (like Catppuccin and TokyoNight) already auto-switch between light and dark variants based on whether
vim.o.background
reports a light or dark terminal background.This is an incredibly convenient feature for users who:
It would be nice also have this ability in onedarkpro. As I understand it #305 and #306 posibilítate this but it will still be nice to have it out of the box.
BTW, #305 makes usage of AutoCmd but it looks like Catppuccin and TokyoNight just use
vim.o.background
. To my knowledge this can be done because plugins load after VimEnter event, and that's where Neovim populatesvim.o.background
.Beta Was this translation helpful? Give feedback.
All reactions