diff options
author | Evgeni Chasnovski <evgeni.chasnovski@gmail.com> | 2023-12-12 18:07:45 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-12-16 14:43:03 +0100 |
commit | 574519d9d68f7f28a868e95ef0d081cbae6ddec4 (patch) | |
tree | afd5a8da7c9be14aa8189b79cf830193c3496bfc /test/functional/ui/embed_spec.lua | |
parent | 19fed6bde176586b43b5b9ff37146ddf2f5a65ce (diff) | |
download | rneovim-574519d9d68f7f28a868e95ef0d081cbae6ddec4.tar.gz rneovim-574519d9d68f7f28a868e95ef0d081cbae6ddec4.tar.bz2 rneovim-574519d9d68f7f28a868e95ef0d081cbae6ddec4.zip |
feat(highlight): tweak default color scheme
Problem: Updating default color scheme produced some feedback.
Solution: Address the feedback.
Outline of the changes:
- Colors `Grey1` and `Grey2` are made a little bit more extreme (dark -
darker, light - lighter) to increase overall contrast.
- `gui` colors are treated as base with `cterm` colors falling back to
using 0-15 colors which come from terminal emulator.
- Update highlight group definition to not include attribute definition
if it is intended to staty uncolored.
- Tweak some specific highlight groups.
- Add a list of Neovim specific highlight groups which are now defined
differently in a breaking way.
- Minor tweaks in several other places related to default color scheme.
Diffstat (limited to 'test/functional/ui/embed_spec.lua')
-rw-r--r-- | test/functional/ui/embed_spec.lua | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/test/functional/ui/embed_spec.lua b/test/functional/ui/embed_spec.lua index 072c9e89ce..9d7934a8c6 100644 --- a/test/functional/ui/embed_spec.lua +++ b/test/functional/ui/embed_spec.lua @@ -29,9 +29,6 @@ local function test_embed(ext_linegrid) [6] = {foreground = Screen.colors.NvimDarkGrey3, background = Screen.colors.NvimLightGrey1}; [7] = {foreground = Screen.colors.NvimDarkRed}; [8] = {foreground = Screen.colors.NvimDarkCyan}; - [9] = {foreground = Screen.colors.NvimLightGrey3, background = Screen.colors.NvimDarkGrey1}; - [10] = {foreground = Screen.colors.NvimLightRed}; - [11] = {foreground = Screen.colors.NvimLightCyan}; }) end @@ -60,11 +57,11 @@ local function test_embed(ext_linegrid) startup('--cmd', 'echoerr "foo"', '--cmd', 'color default', '--cmd', 'echoerr "bar"') screen:expect([[ |*3 - {9: }| + {6: }| {7:Error detected while processing pre-vimrc command line:} | {7:foo} | - {10:bar} | - {11:Press ENTER or type command to continue}^ | + {7:bar} | + {8:Press ENTER or type command to continue}^ | ]]) end) |