From: Tran Duc Binh Date: Mon, 22 Aug 2022 01:51:04 +0000 (+0700) Subject: add TS rainbow support X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=77161f056f9d29da94946ea71fd25d0395d9ce7a;p=nvim-plugins%2Fflatwhite.git add TS rainbow support --- diff --git a/lua/dracula/init.lua b/lua/dracula/init.lua index afdc3b4..964bc6e 100644 --- a/lua/dracula/init.lua +++ b/lua/dracula/init.lua @@ -412,6 +412,15 @@ local function apply(opts) CmpItemKindConstant = "TSConstant", CmpItemKindStruct = "TSStructure", CmpItemKindTypeParameter = "TSParameter", + + -- TS rainbow colors + rainbowcol1 = { fg = colors.red, }, + rainbowcol2 = { fg = colors.green, }, + rainbowcol3 = { fg = colors.yellow, }, + rainbowcol4 = { fg = colors.purple, }, + rainbowcol5 = { fg = colors.pink, }, + rainbowcol6 = { fg = colors.cyan, }, + rainbowcol7 = { fg = colors.white, }, } -- apply transparents