forked from aniani/vim
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
|