diff options
Diffstat (limited to '')
-rw-r--r-- | .config/nvim/lua/plugs-config/rainbow.lua | 23 |
1 files changed, 22 insertions, 1 deletions
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', + }, +} |