mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 16:12:48 +00:00
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:
@@ -17,6 +17,7 @@ local function test_embed(ext_linegrid)
|
||||
[1] = {foreground = Screen.colors.Grey100, background = Screen.colors.Red},
|
||||
[2] = {bold = true, foreground = Screen.colors.SeaGreen4},
|
||||
[3] = {bold = true, foreground = Screen.colors.Blue1},
|
||||
[4] = {bold = true, foreground = Screen.colors.Green},
|
||||
})
|
||||
end
|
||||
|
||||
@@ -56,7 +57,7 @@ local function test_embed(ext_linegrid)
|
||||
Error detected while processing pre-vimrc command line: |
|
||||
foo |
|
||||
{1:bar} |
|
||||
{2:Press ENTER or type command to continue}^ |
|
||||
{4:Press ENTER or type command to continue}^ |
|
||||
]])
|
||||
end)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user