diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2024-06-12 19:55:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-12 19:55:28 -0500 |
commit | 0231265c8cf8c13f317bbddcfcbac2639e7022cd (patch) | |
tree | e258e29530a872f3cedf6cc01bfd5db10bc9c25a /runtime/syntax/java.vim | |
parent | 6311a7fe4b416c23a336c1392a44cf3192ebde36 (diff) | |
download | rneovim-0231265c8cf8c13f317bbddcfcbac2639e7022cd.tar.gz rneovim-0231265c8cf8c13f317bbddcfcbac2639e7022cd.tar.bz2 rneovim-0231265c8cf8c13f317bbddcfcbac2639e7022cd.zip |
fix(tui): skip TUI in ui_rgb_attached (#29096)
The ui_rgb_attached function determines if any UI is attached which
supports RGB (truecolor). We determine if the TUI supports RGB via the
'termguicolors' option which is checked at the beginning of this
function. If the TUI does not support RGB ('termguicolors' is unset), we
check to see if any _other_ UI is attached which supports RGB.
Normally, the TUI's "rgb" flag and the 'termguicolors' option are the
same. However, they may differ during startup when the "rgb" flag is set
by tui/tui.c to indicate to the core that the terminal emulator supports
truecolor. The 'termguicolors' option is not actually set until
_defaults.lua runs.
Diffstat (limited to 'runtime/syntax/java.vim')
0 files changed, 0 insertions, 0 deletions