diff options
Diffstat (limited to '.config/nvim/after/plugin/rainbow.lua')
-rw-r--r-- | .config/nvim/after/plugin/rainbow.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/rainbow.lua b/.config/nvim/after/plugin/rainbow.lua new file mode 100644 index 0000000..e0951b8 --- /dev/null +++ b/.config/nvim/after/plugin/rainbow.lua @@ -0,0 +1,23 @@ +-- Rainbow +-- 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', + }, +} |