[vim/vim] pum shadow is incorrect (Issue #20740)

10 views
Skip to first unread message

Maxim Kim

unread,
Jul 10, 2026, 3:26:29 AM (yesterday) Jul 10
to vim/vim, Subscribed
habamax created an issue (vim/vim#20740)

Steps to reproduce

I don't have minimal repro yet.

image.png (view on web)

https://asciinema.org/a/CKHDXSxgPhh9U2lb

@girishji fyi

Expected behaviour

First element of the pmenu shouldn't be wider that others.

Version of Vim

9.2.782

Environment

debian13, alacritty, bash

Logs and stack traces


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/20740@github.com>

Maxim Kim

unread,
Jul 10, 2026, 3:51:08 AM (yesterday) Jul 10
to vim/vim, Subscribed
habamax left a comment (vim/vim#20740)

Repro steps, that gives slightly different but still wrong result:

cmdlineshadow.vim

vim9script

set wildmode=noselect:lastused,full
set wildoptions=pum,fuzzy pumheight=12
set pumopt=height:15,shadow

augroup CmdComplete
    au!
    autocmd CmdlineChanged : wildtrigger()
augroup END
colo darkblue
  1. vim --clean -u cmdlineshadow.vim
  2. :hh
image.png (view on web)


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/20740/4933182657@github.com>

girish

unread,
Jul 10, 2026, 10:14:54 AM (yesterday) Jul 10
to vim/vim, Subscribed
girishji left a comment (vim/vim#20740)

Was there a PR that got merged that touched on redrawing of the screen -- specifically empty lines? The shadow is drawn correctly (:hh), but the previously drawn shadow (when :h) is not cleared completely, leaving one cell at the end of the top row of popup menu still containing shadow. If screen is filled with text then this problem does not happen.

When screen has empty lines (~):

Screenshot.2026-07-10.at.4.07.05.PM.png (view on web)

when screen has no empty lines:

Screenshot.2026-07-10.at.4.05.22.PM.png (view on web)


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/20740/4936225018@github.com>

Reply all
Reply to author
Forward
0 new messages