Description
Updated: Used this repo, commit 7b293c7 master, tag: v8.2.0539
Using xterm-direct
(16777216 colors), I am attempting to add support for more concise coloring (at RGB scale), but it doesn't quite take on the gvim
yet.
Looks like t_Co
variable works only within a console-based vim
, and not in a GUI-based gvim
.
VIM xterm-direct (console-mode)
To see the total color available in vim
, I executed:
TERM=xterm-direct vim --clean
Then typed in the following vimscript:
:verbose set term? t_Co? termguicolors?
term=xterm-direct
t_Co=16777216
notermguicolors
GVIM xterm-direct (GUI-mode)
But t_Co
returns an empty value under GUI-based gvim
, when I executed:
TERM=xterm-direct gvim --clean
Then typed in the following vimscript:
:verbose set term? t_Co? termguicolors?
term=builtin_gui
t_Co=
notermguicolors
Describe the solution you'd like
Updated: Perhaps add GUI support to term
to correctly reflect xterm-direct
.
Perhaps add support to t_Co
variable name while in gvim GUI-mode?
Describe alternatives you've considered
Perhaps, there is a better vimscript keyword alternative to the terminal resolution of 2, 8, 16, and 256 that vim
supports (that I am not aware of).