mirror of
https://github.com/neovim/neovim.git
synced 2026-01-15 17:46:41 +10:00
Problem: When the parameter debug=msg is set and the command :option is
entered, error E94 will be displayed.
Solution: Add a check for the existence of the buffer before getting the
buffer number “option-window”.
Reproduce:
vim --clean -c "set debug=msg" -c "option"
Error detected while processing command line..script D:\Programs\Vim\vim91\optwin.vim:
line 9: E94: No matching buffer for option-window
closes: vim/vim#17927
3be4ad76df
Co-authored-by: RestorerZ <restorer@mail2k.ru>