Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the setting of terminal colors optional. #37

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Make the setting of terminal colors optional. #37

merged 1 commit into from
Apr 5, 2024

Conversation

PhilRunninger
Copy link
Contributor

@Shatur , I love this colorscheme, especially for the fact that it has both dark and light variants. I sometimes try out others, but I always come back to ayu. That being said, I've noticed an area that could be improved. When invoking a :terminal inside of Neovim, ayu sets up some colors that, IMO, don't look so good. The magentas have been lost, and the white isn't bright enough.

This pull request adds an option to disable ayu's setting the g:terminal_color_n values. The new default config is shown here. Setting terminal = false will let the shell use its original colors, while keeping ayu colors in other windows.

local config = {
  defaults = {
    mirage = false,
    terminal = true,
    overrides = {},
  },
}

Before

image

After

image

@PhilRunninger PhilRunninger marked this pull request as ready for review April 5, 2024 00:41
@Shatur Shatur merged commit e03beac into Shatur:master Apr 5, 2024
2 checks passed
@Shatur
Copy link
Owner

Shatur commented Apr 5, 2024

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants