Replies: 1 comment
-
|
Do you mean the [relative] line numbers on the left side? I also changed them, along with comments, a bit brighter because I prefer using my monitor with lower brightness and night light. As I understand the Here's the config as code. {
'folke/tokyonight.nvim',
priority = 1000, -- Make sure to load this before all the other start plugins.
opts = {
on_colors = function(colors)
colors.comment = '#6272a4'
end,
on_highlights = function(hl, colors)
local commentColor = colors.comment
hl.LineNrAbove = {
fg = commentColor,
}
hl.LineNrBelow = {
fg = commentColor,
}
hl.DiagnosticUnnecessary = { fg = commentColor }
end,
},
init = function()
vim.cmd.colorscheme 'tokyonight-storm'
vim.cmd.hi 'Comment gui=none'
end,
}, |
Beta Was this translation helpful? Give feedback.
0 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.
-
Did you check docs and existing issues?
Neovim version (nvim -v)
v0.10.0
Operating system/version
Void Linux x86_64
Describe the bug
Setting the
LineNrguifghighlight has no visual effect. When starting neovim, both the visual appearance of the line number and the value ofLineNrguifgis #3b4261:But after changing the

LineNrhighlight value the visual appearance of the line numbers remains unchanged:Steps To Reproduce
nvim path/to/file:hi LineNr guifg=whiteExpected Behavior
Expected the foreground color of the line numbers in the gutter to change to white.
Repro
Beta Was this translation helpful? Give feedback.
All reactions