defaults: background=dark #2894 (#9205)

By historical accident, Nvim defaults to background=light. So on a dark
background, `:colorscheme default` looks completely wrong.

The "smart" logic that Vim uses is confusing for anyone who uses Vim on
multiple platforms, so rather than mimic that, pick the (hopefully) most
common default.

- Since Neovim is dark-powered, we assume most users have dark backgrounds.
- Most of the GUIs tend to have a dark background by default.

ref #6289
This commit is contained in:
Justin M. Keyes
2018-11-20 10:52:49 +01:00
committed by GitHub
parent e53ae88e7e
commit deb18a050e
8 changed files with 29 additions and 38 deletions

View File

@@ -52,7 +52,7 @@ local function screen_setup(extra_rows, command, cols)
[7] = {foreground = 130},
[8] = {foreground = 15, background = 1}, -- error message
[9] = {foreground = 4},
[10] = {foreground = 2}, -- "Press ENTER" in embedded :terminal session.
[10] = {foreground = 121}, -- "Press ENTER" in embedded :terminal session.
})
screen:attach({rgb=false})