nvim-colorizer.lua
nvim-colorizer.lua copied to clipboard
added support for parsing hsl functions without percentage signs.
For example: "hsl(20, 80, 40)". Useful in regular programming languages, instead of only in css. This fixes #34
What does hsl(20, 80, 40)
denote ? 80 and 40 treated as percentage ?
Also, no need to create a new parser, can just modify the existing function. Also have to introduce a new option for this behaviour as hsl(20, 80, 40) is not a valid color normally.