From 87185301a93f08574da1780ed5c7eddb8cdbe44d Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Tue, 23 Jul 2019 17:42:55 -0600 Subject: Fix for html syntax conflict with rainbow parenthesis --- plugin/vim-options.vim | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 6125c13..d44b9d9 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -270,10 +270,11 @@ endif " RainbowParentheses "----------------------------------------------------------------------------------------------------------------------- if !empty(glob($EditorDir.'plugged/rainbow_parentheses.vim/plugin/rainbow_parentheses.vim')) - au VimEnter * RainbowParenthesesToggle - au Syntax * RainbowParenthesesLoadRound - au Syntax * RainbowParenthesesLoadSquare - au Syntax * RainbowParenthesesLoadBraces + " Don't active on html, conflicts with jinja/htmldjango syntax + au VimEnter *.py RainbowParenthesesToggle + au Syntax *.py RainbowParenthesesLoadRound + au Syntax *.py RainbowParenthesesLoadSquare + au Syntax *.py RainbowParenthesesLoadBraces let g:rbpt_colorpairs = [ \ ['brown', 'RoyalBlue3'], \ ['darkblue', 'DarkOrchid3'], -- cgit v1.2.3