nvim-colorizer.lua icon indicating copy to clipboard operation
nvim-colorizer.lua copied to clipboard

Support lowercase color names?

Open norcalli opened this issue 5 years ago • 4 comments

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?

norcalli avatar Oct 19 '19 17:10 norcalli

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?

somini avatar Oct 05 '20 15:10 somini

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?

pr3c0g avatar Nov 23 '21 13:11 pr3c0g

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

Akianonymus avatar Feb 07 '22 17:02 Akianonymus

just use config to enable lowercase

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

JryChn avatar Mar 26 '22 14:03 JryChn