diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-11-20 10:52:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-20 10:52:49 +0100 |
commit | deb18a050ef522791c48c7c8c549a2c4b2043be0 (patch) | |
tree | 1e82aea28a55ed55835e3a6b1596a7eb885c8e8f /test/functional/ui/output_spec.lua | |
parent | e53ae88e7ecb20f39f9f9c73cd9b39bc12a665ab (diff) | |
download | rneovim-deb18a050ef522791c48c7c8c549a2c4b2043be0.tar.gz rneovim-deb18a050ef522791c48c7c8c549a2c4b2043be0.tar.bz2 rneovim-deb18a050ef522791c48c7c8c549a2c4b2043be0.zip |
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
Diffstat (limited to 'test/functional/ui/output_spec.lua')
-rw-r--r-- | test/functional/ui/output_spec.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/functional/ui/output_spec.lua b/test/functional/ui/output_spec.lua index 1850d436ac..aa99499ec6 100644 --- a/test/functional/ui/output_spec.lua +++ b/test/functional/ui/output_spec.lua @@ -68,7 +68,12 @@ describe("shell command :!", function() | {10:Press ENTER or type command to continue}{1: } | {3:-- TERMINAL --} | - ]]) + ]], { + -- test/functional/helpers.lua defaults to background=light. + [1] = {reverse = true}, + [3] = {bold = true}, + [10] = {foreground = 2}, + }) end) end) |