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/color_utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/colorizer/color_utils.lua') diff --git a/lua/colorizer/color_utils.lua b/lua/colorizer/color_utils.lua index b90c108..34a04f5 100644 --- a/lua/colorizer/color_utils.lua +++ b/lua/colorizer/color_utils.lua @@ -86,7 +86,7 @@ local function color_name_parser(line, i, opts) end end if opts and opts.tailwind then - if opts.tailwind == "normal" or opts.tailwind == "both" then + if opts.tailwind == true or opts.tailwind == "normal" or opts.tailwind == "both" then local tailwind = require "colorizer.tailwind_colors" -- setup tailwind colors for k, v in pairs(tailwind.colors) do -- cgit v1.2.3-70-g09d2