Browse Source

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

pull/101/head
Josh Dick 8 years ago
parent
commit
22c8bb6067
No known key found for this signature in database GPG Key ID: 504C35EB636445DC
  1. 6
      build/templates/onedark.template.vim
  2. 6
      colors/onedark.vim

6
build/templates/onedark.template.vim

@ -44,8 +44,6 @@
" | Initialization |
" +----------------+
set background=dark
highlight clear
if exists("syntax_on")
@ -528,3 +526,7 @@ if has("nvim")
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_7
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

6
colors/onedark.vim

@ -44,8 +44,6 @@
" | Initialization |
" +----------------+
set background=dark
highlight clear
if exists("syntax_on")
@ -528,3 +526,7 @@ if has("nvim")
let g:terminal_color_background = g:terminal_color_0
let g:terminal_color_foreground = g:terminal_color_7
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

Loading…
Cancel
Save