Closed cparadis6191 closed 9 years ago
Hi, thanks for the report. It looks your color scheme does not define Normal
highlight group unlike most other colorschemes and silent!
is a simple and valid fix to the problem. Thanks.
Ahh, thanks. I think the problem is that I don't have a colorscheme in Vim at all. I just use the default. It works now.
I just switched from kien's plugin and ran into a problem. When opening Vim without a file (i.e. empty buffer) the following error occurs.
I can replicate the problem with a very minimal vimrc (just vim-plug and the following).
The offending line:
https://github.com/junegunn/rainbow_parentheses.vim/blob/master/autoload/rainbow_parentheses.vim#L97
Changing the
silent
call tosilent!
seems to fix the problem (or hides it) but I'm no vimscript expert and I don't know if that could possibly break other things.Thanks for any help.