projects
/
nvim-plugins
/
flatwhite.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0faaac4
)
add TS rainbow support
author
Tran Duc Binh
<binhtran432k@gmail.com>
Mon, 22 Aug 2022 01:51:04 +0000
(08:51 +0700)
committer
Tran Duc Binh
<binhtran432k@gmail.com>
Mon, 22 Aug 2022 01:51:04 +0000
(08:51 +0700)
lua/dracula/init.lua
patch
|
blob
|
history
diff --git
a/lua/dracula/init.lua
b/lua/dracula/init.lua
index afdc3b4c41ddb973c39cffdd23409ec633cc1448..964bc6e21bd1261ea8b51c005b55c66d39640416 100644
(file)
--- 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