From 3fcb921077ae6aee0e25afef5d23c368c90ec3d3 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 4 Nov 2017 23:03:50 -0400 Subject: restore the old rainbow paren plugin the new one is too complicated and breaks too many things --- vimrc | 29 ++++++++++------------------- 1 file changed, 10 insertions(+), 19 deletions(-) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 4f9c315..2d68fb9 100644 --- a/vimrc +++ b/vimrc @@ -132,25 +132,9 @@ endfunction autocmd vimrc VimEnter * call configure_neosnippet_tab_mappings() " }}} " rainbow {{{ -let g:rainbow_active = 1 -let g:rainbow_conf = { -\ 'ctermfgs': [ -\ 'darkred', -\ 'darkmagenta', -\ 'darkblue', -\ 'darkyellow', -\ 'darkgreen', -\ 'darkcyan', -\ ], -\ 'guitermfgs': [ -\ 'red', -\ 'magenta', -\ 'blue', -\ 'yellow', -\ 'green', -\ 'cyan', -\ ], -\} +let g:rainbow = 1 +let g:rainbow_paren = 1 +let g:rainbow_brace = 1 " }}} " startify {{{ let g:startify_list_order = ['dir', 'bookmarks', 'commands'] @@ -174,5 +158,12 @@ let g:Textobj_defs = [ \['\|', 'Textobj_paired', '\|'], \] " }}} +" Load plugins that don't use vim's format {{{ +" just loading this directly from the plugin directory fails because language +" syntax files override the highlighting +" using BufWinEnter because that is run after modelines are run (so it catches +" modelines which update highlighting) +autocmd vimrc BufWinEnter,FileType * runtime plugin/rainbow_paren.vim +" }}} " }}} " vim: fdm=marker -- cgit v1.2.3-54-g00ecf