You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have configure the yaml.format.enable to true and I'm using the Azure pipelines yaml schema. I also have the coc configuration format on save set to true. When I save the document, it indents my collection elements instead of keeping them on the same vertical line.
Example:
Before
steps:
- task: ABCinputs:
test: hello
After formatting:
steps:
- task: ABCinputs:
test: hello
The formatting shouldn't change the indentation of the collection if we follow the yaml spec 1.2. Why is this happening?
The text was updated successfully, but these errors were encountered:
I looked into the language server output but didn't bring me much additional information. I did find the following PR that was merged into eemeli/yaml. The PR adds the ability to configure the indentation. eemeli/yaml#147 . I'll see if I can find in the coc-yaml code if this is used somewhere
I have configure the
yaml.format.enable
totrue
and I'm using the Azure pipelines yaml schema. I also have the coc configuration format on save set to true. When I save the document, it indents my collection elements instead of keeping them on the same vertical line.Example:
Before
After formatting:
The formatting shouldn't change the indentation of the collection if we follow the yaml spec 1.2. Why is this happening?
The text was updated successfully, but these errors were encountered: