From 0c02f9c13097fe52b42d9b656190d8973c452df9 Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Mon, 7 Feb 2022 22:54:20 +0530 Subject: Allow lower case color names --- lua/colorizer.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lua/colorizer.lua') 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 -- cgit v1.2.3-70-g09d2