How to change the highlight color for comments. #2722
-
I am using onedark color theme. I think its highlight for the comments are too dark to see. I have tried to overwrite the highlight color but have not succeeded. Here is what I have tried: -- file lua/chadrc.lua
M.ui = {
changed_themes = {
onedark = {
base_16 = {
base04 = "#777777", -- no effects at all
},
base_30 = {
gray_fg="#777777" -- no effects at all
},
},
},
hl_override = {
Comment = {
bg = "#777777", -- no effects at all
fg = "#777777" -- no effects at all
}
},
theme = "onedark",
} I have looked up the color defined here https://github.com/NvChad/base46/blob/v2.0/lua/base46/themes/onedark.lua May anyone tell me how to change the color properly? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
add |
Beta Was this translation helpful? Give feedback.
add
["@comment"]
too, 99% of time everyone uses treesitter syntax highlighting. So its hlgroups must be used too. Always check the treesitter integration file to know correct names