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

Weird highlight colors #77

Open
nyonson opened this issue Dec 11, 2022 · 1 comment
Open

Weird highlight colors #77

nyonson opened this issue Dec 11, 2022 · 1 comment

Comments

@nyonson
Copy link

nyonson commented Dec 11, 2022

I imagine I have some conflicting settings causing this, but any tips as to why my default Normal highlight looks wonky in the terminal?

FWIW things look good if I override the default with a blank: hl = '', otherwise they look like the below screenshots

image
image

@numToStr
Copy link
Owner

AFAIK You might need to assign the following variables with a hex as normal highlights doesn't affect terminal buffer highlights.

-- black
vim.g.terminal_color_0 
vim.g.terminal_color_8 
-- red
vim.g.terminal_color_1 
vim.g.terminal_color_9 
-- green
vim.g.terminal_color_2 
vim.g.terminal_color_10
-- yellow
vim.g.terminal_color_3 
vim.g.terminal_color_11
-- blue
vim.g.terminal_color_4 
vim.g.terminal_color_12
-- magenta
vim.g.terminal_color_5 
vim.g.terminal_color_13
-- cyan
vim.g.terminal_color_6 
vim.g.terminal_color_14
-- white
vim.g.terminal_color_7 
vim.g.terminal_color_15

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

No branches or pull requests

2 participants