forked from aniani/vim
Problem: Visual highlighting can still be improved
Solution: Update Visual highlighting for 8 color terminals,
use uniform grey highlighting for dark and light bg
(Maxim Kim)
Update terminal Visual
1. Use `ctermbg=Grey ctermfg=Black` for both dark and light
This uniforms Visual highlighting between default dark and light colors
And should work for vim usually detecting light background for terminals
with black/dark background colors.
Previously used `ctermfg=White` leaks `cterm=bold` if available colors
are less than 16.
2. Use `term=reverse cterm=reverse ctermbg=NONE ctermfg=NONE`
for terminals reporting less than 8 colors available
If the terminal has less than 8 colors, grey just doesn't work right
closes: #13940
Signed-off-by: Maxim Kim <habamax@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
16 lines
317 B
Plaintext
16 lines
317 B
Plaintext
|0+0&#ffffff0| @73
|
|
|1| @73
|
|
|2| @73
|
|
|3| @73
|
|
|4| @73
|
|
|[+1&&|N|o| |N|a|m|e|]| @47|1|,|1| @11|T|o|p
|
|
|2+0&&|1| @72
|
|
|2@1| @72
|
|
|2+0#0000001#a8a8a8255>3+0#0000000#ffffff0| @72
|
|
|2|4| @72
|
|
|2|5| @72
|
|
|2|6| @72
|
|
|[+3&&|N|o| |N|a|m|e|]| @47|3|,|2| @11|T|o|p
|
|
|r+0&&|e|g| |=| |"|2|3|"| @64
|
|
|-+2&&@1| |V|I|S|U|A|L| |-@1| +0&&@51|2| @9
|