junegunn / rainbow_parentheses.vim

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

Breaks PHP syntax highlighting #17

Closed hashhar closed 5 years ago

hashhar commented 7 years ago

Test:

Create a large PHP file, a good example can be found here. Open it with RainbowParentheses enabled. And ensure that let g:rainbow#pairs = [['(', ')'], ['[', ']'], ['{', '}'], ['<', '>']] is present in vimrc.

Result:

Syntax highlighting doesn't work.

Fix:

Disable RainbowParentheses and syntax highlighting starts working again.