aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorBarrett Ruth <62671086+barrettruth@users.noreply.github.com>2026-06-20 19:09:34 -0500
committerGitHub <noreply@github.com>2026-06-20 20:09:34 -0400
commit74f163c67dafcba4b8d9150fa26131c2115f20f6 (patch)
tree97849f74add1f826be6b3ffae7a8489705d76053 /test/functional/vimscript/executable_spec.lua
parent6284c1163a31facf930d5416ae354f9759d36faf (diff)
downloadrneovim-74f163c67dafcba4b8d9150fa26131c2115f20f6.tar.gz
rneovim-74f163c67dafcba4b8d9150fa26131c2115f20f6.tar.bz2
rneovim-74f163c67dafcba4b8d9150fa26131c2115f20f6.zip
fix(defaults): detect `'background'`/`'termguicolors'` on UI attach #40175
Problem: Terminal background and truecolor detection runs only at startup, gated on a UI being attached. A headless server has no UI then, so `'background'` and `'termguicolors'` are never detected and remote UIs ignore the terminal's theme. Solution: Also (re)detect on UIEnter. The most recently attached terminal wins; an explicit user value is preserved.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions