1
1
Fork 0

vim: Leave terminal background unchanged

Forcing black looks bad if the terminal doesn't have 100% black
background, and in some terminals also disables transparency.
This commit is contained in:
Jonathan Schleifer 2025-01-02 14:02:00 +00:00
parent bda76bfcea
commit c220805772

View file

@ -144,7 +144,7 @@ else
if ! g:inkpot_black_background
exec "hi Normal cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(80)
else
exec "hi Normal cterm=NONE ctermfg=" . <SID>X(79) . " ctermbg=" . <SID>X(16)
exec "hi Normal cterm=NONE ctermfg=" . <SID>X(79)
endif
exec "hi IncSearch cterm=BOLD ctermfg=" . <SID>X(80) . " ctermbg=" . <SID>X(73)