aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorAkianonymus <anonymus.aki@gmail.com>2022-02-07 22:54:20 +0530
committerAkianonymus <anonymus.aki@gmail.com>2022-02-07 22:56:49 +0530
commit0c02f9c13097fe52b42d9b656190d8973c452df9 (patch)
tree7348d55481d4599f87718cfc8887d2488d93e89e /lua
parentusing virtualtext as one option for highlight (diff)
Allow lower case color names
Diffstat (limited to 'lua')
-rw-r--r--lua/colorizer.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/colorizer.lua b/lua/colorizer.lua
index 6f3439f..e726c6c 100644
--- a/lua/colorizer.lua
+++ b/lua/colorizer.lua
@@ -18,7 +18,7 @@ local COLOR_MAP
local COLOR_TRIE
local COLOR_NAME_MINLEN, COLOR_NAME_MAXLEN
local COLOR_NAME_SETTINGS = {
- lowercase = false;
+ lowercase = true;
strip_digits = false;
}
@@ -58,7 +58,7 @@ end
local DEFAULT_OPTIONS = {
RGB = true; -- #RGB hex codes
RRGGBB = true; -- #RRGGBB hex codes
- names = true; -- "Name" codes like Blue
+ names = true; -- "Name" codes like Blue or blue
RRGGBBAA = false; -- #RRGGBBAA hex codes
rgb_fn = false; -- CSS rgb() and rgba() functions
hsl_fn = false; -- CSS hsl() and hsla() functions