vim bugfix: autoclose type history