aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2019-08-06 10:06:47 -0600
committerCody Hiar <cody@hiar.ca>2019-08-06 10:06:47 -0600
commitf634bc64b8dbb73193d135c78aa979adc3fe0a22 (patch)
tree6b197c17df8fa75a990bb97ec60ee00f3ff231a3
parent87185301a93f08574da1780ed5c7eddb8cdbe44d (diff)
Update colorscheme
-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'],