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/core/main_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/core/main_spec.lua')
-rw-r--r-- | test/functional/core/main_spec.lua | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/test/functional/core/main_spec.lua b/test/functional/core/main_spec.lua index 723bcbe153..0501a75bd6 100644 --- a/test/functional/core/main_spec.lua +++ b/test/functional/core/main_spec.lua @@ -72,15 +72,12 @@ describe('command-line option', function() env = { VIMRUNTIME = os.getenv('VIMRUNTIME') } }) screen:expect([[ - {1:^ }| - {2:~ }|*4 - {3:[No Name] 0,0-1 All}| - {1: }| - | + ^ | + ~ |*4 + {1:[No Name] 0,0-1 All}| + |*2 ]], { - [1] = {bg_indexed = true, foreground = Screen.colors.Grey91, background = tonumber('0x161616'), fg_indexed = true}, - [2] = {bg_indexed = true, foreground = Screen.colors.Gray30, background = tonumber('0x161616'), fg_indexed = true}, - [3] = {bg_indexed = true, foreground = tonumber('0xd2d2d2'), background = Screen.colors.Black , fg_indexed = true}, + [1] = {reverse = true}; }) feed('i:cq<CR>') screen:expect([[ |