rainbow.vim 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. let g:rainbow#pairs = [['(', ')'], ['[', ']'], ['{', '}']]
  2. let g:rainbow_conf = {'guis': ['bold']}
  3. let g:rainbow_active = 1 "set to 0 if you want to enable it later via :RainbowToggle
  4. " \ 'guifgs': ['royalblue3', 'darkorange3', 'seagreen3', 'firebrick'],
  5. let g:rainbow_conf = {
  6. \ 'guifgs': ['#858580', '#8FBCBB', '#D08770', '#A3BE8C', '#EBCB8B', '#B48EAD', '#80a880', '#887070'],
  7. \ 'ctermfgs': ['lightblue', 'lightyellow', 'lightcyan', 'lightmagenta'],
  8. \ 'guis': [''],
  9. \ 'cterms': [''],
  10. \ 'operators': '_,_',
  11. \ 'parentheses': ['start=/(/ end=/)/ fold', 'start=/\[/ end=/\]/ fold', 'start=/{/ end=/}/ fold'],
  12. \ 'separately': {
  13. \ '*': {},
  14. \ 'markdown': {
  15. \ 'parentheses_options': 'containedin=markdownCode contained',
  16. \ },
  17. \ 'lisp': {
  18. \ 'guifgs': ['#858580', '#8FBCBB', '#D08770', '#A3BE8C', '#EBCB8B', '#B48EAD', '#80a880', '#887070'],
  19. \ },
  20. \ 'jsx': {
  21. \ 'guifgs': ['#858580', '#8FBCBB', '#D08770', '#A3BE8C', '#EBCB8B', '#B48EAD', '#80a880', '#887070'],
  22. \ },
  23. \ 'haskell': {
  24. \ 'parentheses': ['start=/(/ end=/)/ fold', 'start=/\[/ end=/\]/ fold', 'start=/\v\{\ze[^-]/ end=/}/ fold'],
  25. \ },
  26. \ 'vim': {
  27. \ 'parentheses_options': 'containedin=vimFuncBody',
  28. \ },
  29. \ 'perl': {
  30. \ 'syn_name_prefix': 'perlBlockFoldRainbow',
  31. \ },
  32. \ 'stylus': {
  33. \ 'parentheses': ['start=/{/ end=/}/ fold contains=@colorableGroup'],
  34. \ },
  35. \ 'css': 0,
  36. \ }
  37. \}