Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rainbow-delimiters module #366

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lua/nightfox/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ M.module_names = {
"notify",
"nvimtree",
"pounce",
"rainbow_delimiters",
"signify",
"sneak",
"symbol_outline",
Expand Down
20 changes: 20 additions & 0 deletions lua/nightfox/group/modules/rainbow_delimiters.lua
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ Current list of modules are:
- notify
- nvimtree
- pounce
- rainbow_delimiters
- signify
- sneak
- symbol_outline
Expand Down