Skip to content

Commit

Permalink
feat(nvim): add rainbow delimiters toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
schardev committed May 8, 2024
1 parent 47735b3 commit 96bc2e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/nvim/lua/plugins/nvim-treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ return {
{
"HiPhish/rainbow-delimiters.nvim",
config = function()
vim.api.nvim_create_user_command("RainbowDelimitersToggle", function()
require("rainbow-delimiters").toggle(0)
end, { desc = "Toggle Rainbow Delimiters" })

vim.g.rainbow_delimiters = {
-- log = {
-- level = vim.log.levels.TRACE,
Expand Down

0 comments on commit 96bc2e7

Please sign in to comment.