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.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lua/colorizer.lua') diff --git a/lua/colorizer.lua b/lua/colorizer.lua index f54f689..b1786d8 100644 --- a/lua/colorizer.lua +++ b/lua/colorizer.lua @@ -104,7 +104,8 @@ local BUFFER_LOCAL = {} -- css_fn = false, -- Enable all CSS *functions*: rgb_fn, hsl_fn -- -- Available modes for `mode`: foreground, background, virtualtext -- mode = "background", -- Set the display mode. --- -- Available methods are false / "normal" / "lsp" / "both" +-- -- Available methods are false / true / "normal" / "lsp" / "both" +-- -- True is same as normal -- tailwind = false -- Enable tailwind colors -- virtualtext = "■", -- } @@ -133,7 +134,7 @@ local USER_DEFAULT_OPTIONS = { css = false, css_fn = false, mode = "background", - tailwind = "lsp", + tailwind = false, virtualtext = "■", } -- cgit v1.2.3-70-g09d2