diff options
Diffstat (limited to 'plug-config/rainbow.vim')
-rw-r--r-- | plug-config/rainbow.vim | 38 |
1 files changed, 36 insertions, 2 deletions
diff --git a/plug-config/rainbow.vim b/plug-config/rainbow.vim index 4c441fe0..0900b5ab 100644 --- a/plug-config/rainbow.vim +++ b/plug-config/rainbow.vim @@ -1,5 +1,39 @@ -let g:rainbow#max_level = 16 let g:rainbow#pairs = [['(', ')'], ['[', ']'], ['{', '}']] +let g:rainbow_conf = {'guis': ['bold']} +let g:rainbow_active = 1 "set to 0 if you want to enable it later via :RainbowToggle -autocmd FileType * RainbowParentheses +" \ 'guifgs': ['royalblue3', 'darkorange3', 'seagreen3', 'firebrick'], +let g:rainbow_conf = { +\ 'guifgs': ['#858580', '#8FBCBB', '#D08770', '#A3BE8C', '#EBCB8B', '#B48EAD', '#80a880', '#887070'], +\ 'ctermfgs': ['lightblue', 'lightyellow', 'lightcyan', 'lightmagenta'], +\ 'guis': [''], +\ 'cterms': [''], +\ 'operators': '_,_', +\ 'parentheses': ['start=/(/ end=/)/ fold', 'start=/\[/ end=/\]/ fold', 'start=/{/ end=/}/ fold'], +\ 'separately': { +\ '*': {}, +\ 'markdown': { +\ 'parentheses_options': 'containedin=markdownCode contained', +\ }, +\ 'lisp': { +\ 'guifgs': ['#858580', '#8FBCBB', '#D08770', '#A3BE8C', '#EBCB8B', '#B48EAD', '#80a880', '#887070'], +\ }, +\ 'jsx': { +\ 'guifgs': ['#858580', '#8FBCBB', '#D08770', '#A3BE8C', '#EBCB8B', '#B48EAD', '#80a880', '#887070'], +\ }, +\ 'haskell': { +\ 'parentheses': ['start=/(/ end=/)/ fold', 'start=/\[/ end=/\]/ fold', 'start=/\v\{\ze[^-]/ end=/}/ fold'], +\ }, +\ 'vim': { +\ 'parentheses_options': 'containedin=vimFuncBody', +\ }, +\ 'perl': { +\ 'syn_name_prefix': 'perlBlockFoldRainbow', +\ }, +\ 'stylus': { +\ 'parentheses': ['start=/{/ end=/}/ fold contains=@colorableGroup'], +\ }, +\ 'css': 0, +\ } +\} |