norcalli / nvim-colorizer.lua

The fastest Neovim colorizer.
Other
2.25k stars 117 forks source link

Support lowercase color names? #17

Open norcalli opened 4 years ago

norcalli commented 4 years ago

I anticipate that people might want this feature. Adding it as a configurable option will bring additional complexity, so I'm thinking of making it enabled by default.

Is there any good use case for not highlighting lowercase names and only doing uppercase?

somini commented 3 years ago

Is there any good use case for not highlighting lowercase names and only doing uppercase?

Is there any case where not highlighting lowercase names is intended?

pr3c0g commented 2 years ago

I was actually looking through the code trying to figure out how to match all uppercase color names, I would say support for both would be good to have. Any tips on how to do this?

Akianonymus commented 2 years ago

https://github.com/norcalli/nvim-colorizer.lua/pull/77

JryChn commented 2 years ago

just use config to enable lowercase

require 'colorizer'.setup({lowercase = true})