Closed zanshin closed 1 year ago
When adding an override to the Ayu color scheme the result does not alter the displayed colors.
Code: opt.termguicolors = true -- enable 24-bit RGB colors cmd('set background=dark') cmd('colorscheme ayu-dark')
require('ayu').setup({ mirage = false, overrides = { Comment = { fg = "Gray63" }, line = { fg = "#ffcc66" } }, })
Expected behavior: Line numbers are #ffcc66 - a golden yellow color, and comments are a gray.
Actual result: Colors are unchanged from their default values
:highlight comment Comment xxx cterm=italic gui=italic guifg=#626a73 :highlight linenr LineNr xxx guifg=#242a35
I have tried using guifg and fg and neither produces the result I’m expecting.
guifg
fg
You need to call setup before colorscheme ayu-dark.
setup
colorscheme ayu-dark
Thank you. I missed that. It is working as expected. Closing the issue.
When adding an override to the Ayu color scheme the result does not alter the displayed colors.
Code: opt.termguicolors = true -- enable 24-bit RGB colors
cmd('set background=dark')
cmd('colorscheme ayu-dark')
Expected behavior: Line numbers are #ffcc66 - a golden yellow color, and comments are a gray.
Actual result: Colors are unchanged from their default values
I have tried using
guifg
andfg
and neither produces the result I’m expecting.