I use vscode as an editor and have several yaml files in the project where parameter replacement occurs. However, it re-formats only one file with extra spaces between brackets, a file named service.yaml used by helm in our ci/cd pipeline. See below for before and after. 
I was wondering if the name of the file has particular significance for vscode or any other extensions... Thanks.

