let g:rainbow_active = 1

augroup EnableRainbowHighlighting
   " re-enable in case 'syntax' mode is disabled after buffer loaded (e.g. bufdo)
   autocmd! BufRead,BufWinEnter * if !empty(&l:filetype) | execute 'RainbowToggleOn' | endif
augroup END

let g:rainbow_active = 1

augroup EnableRainbowHighlighting
   " re-enable in case 'syntax' disabled after buffer loaded (e.g.  bufdo)
   autocmd! BufRead,BufWinEnter *
            \ if !empty(&l:filetype) |
            \     exe 'RainbowToggle' |
            \     exe 'RainbowToggleOn' |
            \ endif
augroup END

Fix RainbowToggle autcmd to always enable
Fix RainbowToggle autcmd to always enable

There is a bug in RainbowToggle that prevents us from calling
RainbowToggleOn directly.

cmcginty/dotfiles,cmcginty/dotfiles