aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/java.vim
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2024-06-12 19:55:28 -0500
committerGitHub <noreply@github.com>2024-06-12 19:55:28 -0500
commit0231265c8cf8c13f317bbddcfcbac2639e7022cd (patch)
treee258e29530a872f3cedf6cc01bfd5db10bc9c25a /runtime/syntax/java.vim
parent6311a7fe4b416c23a336c1392a44cf3192ebde36 (diff)
downloadrneovim-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