fix(ts-rainbow-background): fix guibg highlight

return "NONE" instead of nil
dev
Alexander Garcia 3 years ago
parent 4aac8765c6
commit d62902430c

@ -2,7 +2,7 @@ local M = {}
function M.get(cp) function M.get(cp)
local transparent_background = require("catppuccin.config").options.transparent_background 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 { return {
rainbowcol1 = {bg = bg_highlight, fg = cp.red}, rainbowcol1 = {bg = bg_highlight, fg = cp.red},
rainbowcol2 = {bg = bg_highlight, fg = cp.teal}, rainbowcol2 = {bg = bg_highlight, fg = cp.teal},

Loading…
Cancel
Save