mirror of
https://github.com/neovim/neovim.git
synced 2026-01-04 18:37:02 +10:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user