mirror of
https://github.com/vim/vim.git
synced 2026-02-19 11:53:56 +01:00
Problem: Restoring help snapshot accesses freed memory. (Dominique Pelle) Solution: Don't restore a snapshot when the window closes.
11 lines
118 B
VimL
11 lines
118 B
VimL
" Tests for :help
|
|
|
|
func Test_help_restore_snapshot()
|
|
help
|
|
set buftype=
|
|
help
|
|
edit x
|
|
help
|
|
helpclose
|
|
endfunc
|