diff --git a/lua/nightfox/config.lua b/lua/nightfox/config.lua index be99cdca..567cbf24 100644 --- a/lua/nightfox/config.lua +++ b/lua/nightfox/config.lua @@ -92,6 +92,7 @@ M.module_names = { "notify", "nvimtree", "pounce", + "rainbow_delimiters", "signify", "sneak", "symbol_outline", diff --git a/lua/nightfox/group/modules/rainbow_delimiters.lua b/lua/nightfox/group/modules/rainbow_delimiters.lua new file mode 100644 index 00000000..84de5f84 --- /dev/null +++ b/lua/nightfox/group/modules/rainbow_delimiters.lua @@ -0,0 +1,20 @@ +-- https://gitlab.com/HiPhish/rainbow-delimiters.nvim + +local M = {} + +function M.get(spec, config, opts) + local c = spec.palette + + -- stylua: ignore + return { + RainbowDelimiterRed = { fg = c.red.base }, + RainbowDelimiterYellow = { fg = c.yellow.base }, + RainbowDelimiterBlue = { fg = c.blue.base }, + RainbowDelimiterOrange = { fg = c.orange.base }, + RainbowDelimiterGreen = { fg = c.green.base }, + RainbowDelimiterViolet = { fg = c.pink.base }, + RainbowDelimiterCyan = { fg = c.cyan.base }, + } +end + +return M diff --git a/readme.md b/readme.md index 0b9a4526..bdf295e2 100644 --- a/readme.md +++ b/readme.md @@ -544,6 +544,7 @@ There are a few things to note: - [telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) - [nvim-ts-rainbow](https://github.com/p00f/nvim-ts-rainbow) - [nvim-ts-rainbow2](https://github.com/HiPhish/nvim-ts-rainbow2) +- [rainbow-delimiters](https://gitlab.com/HiPhish/rainbow-delimiters.nvim) - [which-key.nvim](https://github.com/folke/which-key.nvim) ## Status lines diff --git a/usage.md b/usage.md index 3f0e5d4f..91765a32 100644 --- a/usage.md +++ b/usage.md @@ -419,6 +419,7 @@ Current list of modules are: - notify - nvimtree - pounce +- rainbow_delimiters - signify - sneak - symbol_outline