aboutsummaryrefslogtreecommitdiff
path: root/plugin/vim-options.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/vim-options.vim')
-rw-r--r--plugin/vim-options.vim20
1 files changed, 13 insertions, 7 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index d44b9d9..68bd166 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -35,7 +35,7 @@ au FileType make setlocal tabstop=4 noexpandtab
" Setup colorscheme
syntax enable
-colorscheme gruvbox " Set the colorscheme
+colorscheme nord " Set the colorscheme
set background=dark " Use dark colorscheme
" Set vimdiff colors, make it easier to read
@@ -271,16 +271,22 @@ endif
"-----------------------------------------------------------------------------------------------------------------------
if !empty(glob($EditorDir.'plugged/rainbow_parentheses.vim/plugin/rainbow_parentheses.vim'))
" Don't active on html, conflicts with jinja/htmldjango syntax
- au VimEnter *.py RainbowParenthesesToggle
+ function! EnableRainbows()
+ :call rainbow_parentheses#load(0)
+ :call rainbow_parentheses#load(1)
+ :call rainbow_parentheses#load(2)
+ :RainbowParenthesesActivate
+ endfunction
+ au BufEnter *.py call EnableRainbows()
au Syntax *.py RainbowParenthesesLoadRound
au Syntax *.py RainbowParenthesesLoadSquare
au Syntax *.py RainbowParenthesesLoadBraces
let g:rbpt_colorpairs = [
- \ ['brown', 'RoyalBlue3'],
- \ ['darkblue', 'DarkOrchid3'],
- \ ['red', 'firebrick3'],
- \ ['magenta', 'SeaGreen3'],
- \ ['yellow', 'SeaGreen3'],
+ \ ['darkblue', 'RoyalBlue3'],
+ \ ['magenta', 'DarkOrchid3'],
+ \ ['yellow', 'firebrick3'],
+ \ ['darkcyan', 'SeaGreen3'],
+ \ ['red', 'SeaGreen3'],
\ ['blue', 'DarkOrchid3'],
\ ['gray', 'firebrick3'],
\ ['cyan', 'DarkOrchid3'],