diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-07-23 15:40:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-23 07:40:11 +0000 |
| commit | b81c60c3fa7acb1d3abd480c7767544ab41236ba (patch) | |
| tree | 0e26514795045e3a4ec479ca99142a972c5869c5 /runtime/syntax/python.vim | |
| parent | 893ad3ec282021bea73fd7366cc57ff348f58d6e (diff) | |
| download | rneovim-b81c60c3fa7acb1d3abd480c7767544ab41236ba.tar.gz rneovim-b81c60c3fa7acb1d3abd480c7767544ab41236ba.tar.bz2 rneovim-b81c60c3fa7acb1d3abd480c7767544ab41236ba.zip | |
vim-patch:9.2.0830: the completion menu is not used on terminals without colors (#40917)
Problem: When the terminal reports no colors ("t_Co" is 0 or 1) the
insert mode completion popup menu is not shown at all, while
the command line completion popup menu ('wildoptions' contains
"pum") is shown. In 'wildmenu' completion the current match
cannot be told apart from the other matches (Maxim Kim)
Solution: Show the insert mode completion popup menu regardless of the
number of colors and add "term" attributes to the default
highlighting of Pmenu, PmenuSel and PmenuThumb. The wildmenu
is drawn with the attributes of the status line, which is
reversed, and on most terminals the standout mode is the same
as the reverse mode, thus use the underline mode for the
default highlighting of WildMenu (Hirohito Higashi).
fixes: vim/vim#20800
closes: vim/vim#20803
https://github.com/vim/vim/commit/52485e0d24ade45e02ecba9aeadaec66500d15fe
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions