fix(runtime): properly rely on t_Co for colorschemes (#20602)

Problem: check for available colors failed
Solution: simply trust t_Co, which is always available
This commit is contained in:
Christian Clason
2022-10-11 23:35:35 +02:00
committed by GitHub
parent 760b399f6c
commit 45cc5fd765
20 changed files with 20 additions and 20 deletions

View File

@@ -11,7 +11,7 @@
hi clear
let g:colors_name = 'quiet'
let s:t_Co = exists('&t_Co') && !has('gui_running') ? (&t_Co ? &t_Co : 0) : -1
let s:t_Co = &t_Co
hi! link Terminal Normal
hi! link StatusLineTerm StatusLine