yaml-language-server icon indicating copy to clipboard operation
yaml-language-server copied to clipboard

feat(prettier): Support doNotIndent and commentSpacesFromContent

Open tumido opened this issue 4 years ago • 0 comments

What does this PR do?

Pass doNotIndent and commentSpacesFromContent options to Prettier, upgrades Prettier dependency to 2.4.0

What issues does this PR fix or reference?

What issues does this PR fix or reference?

Resolves:

  • https://github.com/redhat-developer/vscode-yaml/issues/433
  • https://github.com/redhat-developer/vscode-yaml/issues/172

Depends on:

  • https://github.com/prettier/prettier/pull/10927 (requires new Prettier release)
  • https://github.com/prettier/prettier/pull/10926 (requires new Prettier release)

Required by:

  • https://github.com/redhat-developer/vscode-yaml/pull/519

Is it tested? How?

tumido avatar May 22 '21 17:05 tumido