Closed
Description
Describe the bug
If I disable names_custom
, it shows coloriezed RGB in "" like this
but when I enabled, colorcode in "" doesn't show their color. without "", it works
What I missed?
To Reproduce
configuraiton is
enabled = true,
"catgoose/nvim-colorizer.lua",
event = "BufReadPre",
opts = { -- set to setup table
lazy_load = true,
user_default_options = {
names = true,
RGB = true,
RRGGBB = true,
names_custom = {
["'r'"] = "#FF0000",
["\"r\""] = "#FF0000",
["'g'"] = "#00FF00",
["\"g\""] = "#00FF00",
["'b'"] = "#0000FF",
["\"b\""] = "#0000FF",
["'c'"] = "#00FFFF",
["\"c\""] = "#00FFFF",
["'m'"] = "#FF00FF",
["\"m\""] = "#FF00FF",
["'y'"] = "#FFFF00",
["\"y\""] = "#FFFF00",
["'k'"] = "#000000",
["\"k\""] = "#000000",
["'w'"] = "#FFFFFF",
["\"w\""] = "#FFFFFF",
}
}
},
Expected behavior
It show their color even though the code is in "" or isn't in ""
Screenshots
If applicable, add screenshots to help explain your problem.
Operating System:
Windows 10
Neovim Version:
v0..10.2