Open jackald opened 6 months ago
Before format:
After format:
If I do one undo:
I can not work out why this is happening, It seems like it is formatting the text twice. To get back to the original text I have to undo twice to get to the original text. After the first undo the text looks correctly formatted.
@jackald please provide your custom settings and the document before sorting as text
Before format:![image](https://github.com/pascalre/vscode-yaml-sort/assets/77757817/ecf6c95a-8712-43b3-b2d0-2c409684a197)
After format:![image](https://github.com/pascalre/vscode-yaml-sort/assets/77757817/cfa2c2c9-8376-4bc6-90c0-959ce46dae64)
If I do one undo:![image](https://github.com/pascalre/vscode-yaml-sort/assets/77757817/c26aeb77-757e-4825-a7c9-55b32a218b1c)
I can not work out why this is happening, It seems like it is formatting the text twice. To get back to the original text I have to undo twice to get to the original text. After the first undo the text looks correctly formatted.