aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/provider/python.lua
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2026-09-17 00:14:50 -0400
committerGitHub <noreply@github.com>2026-09-17 12:14:50 +0800
commitd1fd8158de63107d2ada9f69c1a491d76edfc9aa (patch)
treeca9a266807ba9878398519edafbbfd37780b709a /runtime/lua/vim/provider/python.lua
parent40c434cc733ae22cbb506a0d63b7707057725202 (diff)
downloadrneovim-d1fd8158de63107d2ada9f69c1a491d76edfc9aa.tar.gz
rneovim-d1fd8158de63107d2ada9f69c1a491d76edfc9aa.tar.bz2
rneovim-d1fd8158de63107d2ada9f69c1a491d76edfc9aa.zip
vim-patch:9.2.0379: gui.color_approx is never used (#41951)
Problem: gui.color_approx in gui_T has not been assigned anywhere since patch 7.4.2094 ("The color allocation in X11 is overly complicated", 2016), which dropped the single "gui.color_approx = TRUE;" site. Because the member is zero-initialized and never written, the check "if (gui.color_approx)" in gui_mch_init() is always false and the "E458: Cannot allocate colormap entry, ..." warning can never be emitted. Solution: Remove the struct member and the unreachable branch. The E458 error definition is removed. Update the example error code "E458" in the ex_eval.c comment to "E457" accordingly. closes: vim/vim#20007 https://github.com/vim/vim/commit/fe3c27ce0b7b889a2ae29833cae55ca92ae86518 Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions