From d62902430c48cef436056f9335c2282430b56ec8 Mon Sep 17 00:00:00 2001 From: Alexander Garcia Date: Mon, 10 Jan 2022 12:57:28 -0500 Subject: [PATCH] fix(ts-rainbow-background): fix guibg highlight return "NONE" instead of nil --- lua/catppuccin/core/integrations/ts_rainbow.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/catppuccin/core/integrations/ts_rainbow.lua b/lua/catppuccin/core/integrations/ts_rainbow.lua index e96c3a9..1e4b74a 100644 --- a/lua/catppuccin/core/integrations/ts_rainbow.lua +++ b/lua/catppuccin/core/integrations/ts_rainbow.lua @@ -2,7 +2,7 @@ local M = {} function M.get(cp) local transparent_background = require("catppuccin.config").options.transparent_background - local bg_highlight = transparent_background and nil or cp.black2 + local bg_highlight = transparent_background and "NONE" or cp.black2 return { rainbowcol1 = {bg = bg_highlight, fg = cp.red}, rainbowcol2 = {bg = bg_highlight, fg = cp.teal},