numToStr / FTerm.nvim

:fire: No-nonsense floating terminal plugin for neovim :fire:
MIT License
721 stars 24 forks source link

Weird highlight colors #77

Open nyonson opened 1 year ago

nyonson commented 1 year ago

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 commented 1 year ago

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