diff options
| author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2023-12-16 11:18:45 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-16 11:18:45 -0600 |
| commit | 8fb7419d7c5e2df3b792d18fa56f973088e69be2 (patch) | |
| tree | 249b027da2469e716b5fea4b243ca9a59953fade /test/functional/legacy/lispwords_spec.lua | |
| parent | 7840760776cf8dbaa580ced87aec0222dbb693d7 (diff) | |
| download | rneovim-8fb7419d7c5e2df3b792d18fa56f973088e69be2.tar.gz rneovim-8fb7419d7c5e2df3b792d18fa56f973088e69be2.tar.bz2 rneovim-8fb7419d7c5e2df3b792d18fa56f973088e69be2.zip | |
refactor: only reload colorscheme if &bg changed (#26598)
Currently, setting &bg at all re-initializes highlights and reloads
the active colorscheme, even if the actual value of &bg has not changed.
With https://github.com/neovim/neovim/pull/26595 this causes a
regression since &bg is set unconditionally based on the value detected
from the terminal.
Instead, only reload the colorscheme if the actual value of &bg has
changed.
Diffstat (limited to 'test/functional/legacy/lispwords_spec.lua')
0 files changed, 0 insertions, 0 deletions
