From d5f27b49bd079f17dfa4e5395c0cb9b1e18143ef Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 8 Sep 2023 16:13:42 +0200 Subject: up --- .config/nvim/lua/plugs-config/rainbow.lua | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to '.config/nvim/lua/plugs-config/rainbow.lua') diff --git a/.config/nvim/lua/plugs-config/rainbow.lua b/.config/nvim/lua/plugs-config/rainbow.lua index 63e9c7c..e0951b8 100644 --- a/.config/nvim/lua/plugs-config/rainbow.lua +++ b/.config/nvim/lua/plugs-config/rainbow.lua @@ -1,2 +1,23 @@ -- Rainbow -vim.g.rainbow_active = 1 +-- This module contains a number of default definitions +local rainbow_delimiters = require 'rainbow-delimiters' + +vim.g.rainbow_delimiters = { + strategy = { + [''] = rainbow_delimiters.strategy['global'], + vim = rainbow_delimiters.strategy['local'], + }, + query = { + [''] = 'rainbow-delimiters', + lua = 'rainbow-blocks', + }, + highlight = { + 'RainbowDelimiterOrange', + 'RainbowDelimiterRed', + 'RainbowDelimiterYellow', + 'RainbowDelimiterBlue', + 'RainbowDelimiterGreen', + 'RainbowDelimiterViolet', + 'RainbowDelimiterCyan', + }, +} -- cgit v1.2.3