Move set background=dark to the end of the colorscheme to work around a Vim oddity.

This commit is contained in:
Josh Dick
2017-05-09 19:23:47 -04:00
parent 32eee7a26b
commit 22c8bb6067
2 changed files with 8 additions and 4 deletions

View File

@@ -44,8 +44,6 @@
" | Initialization | " | Initialization |
" +----------------+ " +----------------+
set background=dark
highlight clear highlight clear
if exists("syntax_on") if exists("syntax_on")
@@ -528,3 +526,7 @@ if has("nvim")
let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_7 let g:terminal_color_foreground = g:terminal_color_7
endif endif
" Must appear at the end of the file to work around this oddity:
" https://groups.google.com/forum/#!msg/vim_dev/afPqwAFNdrU/nqh6tOM87QUJ
set background=dark

View File

@@ -44,8 +44,6 @@
" | Initialization | " | Initialization |
" +----------------+ " +----------------+
set background=dark
highlight clear highlight clear
if exists("syntax_on") if exists("syntax_on")
@@ -528,3 +526,7 @@ if has("nvim")
let g:terminal_color_background = g:terminal_color_0 let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_7 let g:terminal_color_foreground = g:terminal_color_7
endif endif
" Must appear at the end of the file to work around this oddity:
" https://groups.google.com/forum/#!msg/vim_dev/afPqwAFNdrU/nqh6tOM87QUJ
set background=dark