Skip to content

Commit

Permalink
Temporary disable of Rainbows
Browse files Browse the repository at this point in the history
A bug in treesitter: HiPhish/rainbow-delimiters.nvim#2
makes it annoying at the moment. Will revert this later.
  • Loading branch information
mathieuroblin committed Jul 14, 2023
1 parent 4dca44a commit 703c1e6
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions nvim/lua/plugins/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,34 +36,34 @@ return {
},

-- https://github.com/HiPhish/rainbow-delimiters.nvim
{
'HiPhish/rainbow-delimiters.nvim',
name = 'rainbow-delimiters',
config = function ()
local rainbow_delimiters = require 'rainbow-delimiters'

vim.g.rainbow_delimiters = {
strategy = {
[''] = rainbow_delimiters.strategy['global'],
clojure = rainbow_delimiters.strategy['local'],
vim = rainbow_delimiters.strategy['local'],
},
query = {
[''] = 'rainbow-delimiters',
lua = 'rainbow-blocks',
},
highlight = {
-- 'RainbowDelimiterRed',
'RainbowDelimiterYellow',
'RainbowDelimiterBlue',
'RainbowDelimiterOrange',
'RainbowDelimiterGreen',
'RainbowDelimiterViolet',
'RainbowDelimiterCyan',
},
}
end
},
-- {
-- 'HiPhish/rainbow-delimiters.nvim',
-- name = 'rainbow-delimiters',
-- config = function ()
-- local rainbow_delimiters = require 'rainbow-delimiters'
--
-- vim.g.rainbow_delimiters = {
-- strategy = {
-- [''] = rainbow_delimiters.strategy['global'],
-- clojure = rainbow_delimiters.strategy['local'],
-- vim = rainbow_delimiters.strategy['local'],
-- },
-- query = {
-- [''] = 'rainbow-delimiters',
-- lua = 'rainbow-blocks',
-- },
-- highlight = {
-- -- 'RainbowDelimiterRed',
-- 'RainbowDelimiterYellow',
-- 'RainbowDelimiterBlue',
-- 'RainbowDelimiterOrange',
-- 'RainbowDelimiterGreen',
-- 'RainbowDelimiterViolet',
-- 'RainbowDelimiterCyan',
-- },
-- }
-- end
-- },

-- https://github.com/nvim-lualine/lualine.nvim
{
Expand Down

0 comments on commit 703c1e6

Please sign in to comment.