From 5eed60894322a4b20bdfe2fb1f084161e02ccd23 Mon Sep 17 00:00:00 2001 From: nullchilly Date: Sun, 17 Jul 2022 12:34:05 +0700 Subject: [PATCH] Please use this migration guide: https://github.com/catppuccin/nvim/issues/178 --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 59545f4..cee1158 100644 --- a/README.md +++ b/README.md @@ -505,12 +505,12 @@ require("catppuccin.lib.highlight").syntax({ ``` Note: Unlike the `:highlight` command which can update a highlight group, this function completely replaces the definition. (`:h nvim_set_hl`) -However,if you wish to use the old highlight (slower): +However, if you wish to use the old highlight (slower): ```lua local function highlight(tbl) for group, color in pairs(tbl) do - if color.style and type(color.style) == "table" then + if color.style then color.style = table.concat(color.style, ",") end local style = color.style and "gui=" .. color.style or "gui=NONE"