aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2019-07-23 17:42:55 -0600
committerCody Hiar <cody@hiar.ca>2019-07-23 17:42:55 -0600
commit87185301a93f08574da1780ed5c7eddb8cdbe44d (patch)
tree21de93183eccaecc6e84183f4550f3461ff5e2e0 /plugin
parentbef022d7fbcc6f5c5ff525d6b799ba91d5693422 (diff)
Fix for html syntax conflict with rainbow parenthesis
Diffstat (limited to 'plugin')
-rw-r--r--plugin/vim-options.vim9
1 files 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'],