Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lowercase #104

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Lowercase #104

wants to merge 3 commits into from

Conversation

mertkaradayi
Copy link

Lowercase option added to the Options, by default it's false.
Example usage:

-- lua/plugins/colorizer.lua
return {
"mertkaradayi/nvim-colorizer.lua",
branch = "lowercase", -- Specify the branch
config = function()
require("colorizer").setup({ "*" }, {
RGB = true, -- #RGB hex codes
RRGGBB = true, -- #RRGGBB hex codes
names = true, -- "Name" codes like Blue or blue
RRGGBBAA = true, -- #RRGGBBAA hex codes
rgb_fn = true, -- CSS rgb() and rgba() functions
hsl_fn = true, -- CSS hsl() and hsla() functions
css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
css_fn = true, -- Enable all CSS functions: rgb_fn, hsl_fn
mode = "background", -- Set the display mode.
lowercase = true, -- Enable lowercase color names
})
end,
}

Notice:

  • When I was testing it I used branch, so pay attention only for the lowercase = true

Result

Screenshot 2024-07-03 at 17 36 22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant