aboutsummaryrefslogtreecommitdiff
path: root/lua/colorizer/matcher_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/matcher_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/matcher_utils.lua')
-rw-r--r--lua/colorizer/matcher_utils.lua2
1 files changed, 1 insertions, 1 deletions
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)