From 125e4995b86a94405aaf40191738f4b6fcd8ed57 Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Wed, 7 Sep 2022 11:26:59 +0530 Subject: tailwind: Use true for normal mode For first start, wait 100 ms before trying to get some info from the lsp --- lua/colorizer/matcher_utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/colorizer/matcher_utils.lua') diff --git a/lua/colorizer/matcher_utils.lua b/lua/colorizer/matcher_utils.lua index 11e56f6..29cd5e9 100644 --- a/lua/colorizer/matcher_utils.lua +++ b/lua/colorizer/matcher_utils.lua @@ -71,7 +71,7 @@ local function make_matcher(options) + (enable_AARRGGBB and 1 or 4) + (enable_rgb and 1 or 5) + (enable_hsl and 1 or 6) - + (enable_tailwind == "normal" and 1 or 7) + + ((enable_tailwind == true or enable_tailwind == "normal") and 1 or 7) + (enable_tailwind == "lsp" and 1 or 8) + (enable_tailwind == "both" and 1 or 9) -- cgit v1.2.3-70-g09d2