junegunn / rainbow_parentheses.vim

:rainbow: Simpler Rainbow Parentheses
377 stars 24 forks source link

Enable globally? #5

Closed Quintasan closed 9 years ago

Quintasan commented 9 years ago

Hi,

I'm using vim-plug and I want the rainbow_parentheses to be enabled for any kind of file without me manually invoking any command, is this somehow possible? What I'm currently doing is

call plug#load('rainbow_parentheses.vim')
call rainbow_parentheses#activate()

which seems hacky to say the least

junegunn commented 9 years ago

Something like this?

autocmd VimEnter * RainbowParentheses

But I don't recommend it as this plugin does not work with some filetypes.