Explain the issue
Most issues are related to bugs or problems. In these cases, you should
include a minimal working example and a minimal vimrc file (see below), as
well as:
- What vim version are you using? If using neovim, Are you using
tree-sitter or classic matching? terminal Vim, v9.2.0600
- Steps to reproduce:
echo popup_list() after an off-screen popup has been shown and dismissed
- Expected behavior:
[]
- Observed behavior:
[the id of the popup]
Minimal working example
- I've stripped my vimrc (see below),
- then opened a C++ file,
- set the viewport such that the either but not both of a matching
{/} is off screen,
- checked that
echo popup_list() prints []
- moved the cursor to the other of the matching pair, thus trigger the off-screen popup,
- checked that
echo popup_list() prints [the id]
- moved the cursor away from any matchable entity, e.g. to an empty line, so that no popup is showing anymore,
- verified that, unexpectedly,
echo popup_list() still prints the same thing as at step 7. It should print [] instead.
Minimal vimrc file
Please provide a minimal vimrc file that reproduces the issue. The
following should often suffice:
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
au VimEnter * PlugInstall --sync | source $MYVIMRC
endif
call plug#begin('~/.vim/plugged')
Plug 'junegunn/vim-plug'
Plug 'andymass/vim-matchup'
call plug#end()
let g:matchup_matchparen_offscreen = {'method': 'popup', 'highlight': 'OffscreenPopup', 'fullwidth': 1, 'syntax_hl': 1}
let g:matchup_matchparen_stopline = 1500
let g:matchup_delim_stopline = 9000
Explain the issue
Most issues are related to bugs or problems. In these cases, you should
include a minimal working example and a minimal vimrc file (see below), as
well as:
tree-sitter or classic matching? terminal Vim, v9.2.0600
echo popup_list()after an off-screen popup has been shown and dismissed[][the id of the popup]Minimal working example
{/}is off screen,echo popup_list()prints[]echo popup_list()prints[the id]echo popup_list()still prints the same thing as at step 7. It should print[]instead.Minimal vimrc file
Please provide a minimal vimrc file that reproduces the issue. The
following should often suffice: