aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/_changetracking.lua
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2023-12-16 11:18:45 -0600
committerGitHub <noreply@github.com>2023-12-16 11:18:45 -0600
commit8fb7419d7c5e2df3b792d18fa56f973088e69be2 (patch)
tree249b027da2469e716b5fea4b243ca9a59953fade /runtime/lua/vim/lsp/_changetracking.lua
parent7840760776cf8dbaa580ced87aec0222dbb693d7 (diff)
downloadrneovim-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 'runtime/lua/vim/lsp/_changetracking.lua')
0 files changed, 0 insertions, 0 deletions