Describe the bug
When i edit a resource from a multi resource file, the file is saved with only the edited resource. All the other resources are deleted
To Reproduce
Steps to reproduce the behavior:
- open a file containing multiple Kubernetes resources
- Select one resource to focus the editor on that resource
- Edit the resource
- When going to diff panel or viewing the file with another text editor only the edited resources is present in the file
Expected behavior
All the original resources in the file should be saved when one resource is edited
Screenshots

Desktop (please complete the following information):
- OS: windows
- Version 2.4.8