aboutsummaryrefslogtreecommitdiff
path: root/lua/colorizer/color_utils.lua
diff options
context:
space:
mode:
authorAkianonymus <anonymus.aki@gmail.com>2022-09-07 11:26:59 +0530
committerAkianonymus <anonymus.aki@gmail.com>2022-09-07 12:15:21 +0530
commit125e4995b86a94405aaf40191738f4b6fcd8ed57 (patch)
tree204312ca1da268a3eaa96e45b6f1f9ec9c580341 /lua/colorizer/color_utils.lua
parentbuffer_utils: Validate rgb_hex too | trie: Add exact param to longest_prefix (diff)
tailwind: Use true for normal mode
For first start, wait 100 ms before trying to get some info from the lsp
Diffstat (limited to 'lua/colorizer/color_utils.lua')
-rw-r--r--lua/colorizer/color_utils.lua2
1 files changed, 1 insertions, 1 deletions
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