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

Some instructions for running a formatter

Open inulty opened this issue 3 years ago • 2 comments

Summary

I'm not sure exactly how to setup prettier to execute formatting on a yml file. I don't understand how prettier and the lsp config for formatting relate to each other. Could you add some instructions to the README about how this should be done please?

Relevant information

Using nvim native lsp

inulty avatar Apr 13 '22 13:04 inulty

Ok, I found an issue referencing why this behaviour doesn't work out of the box in nvim.

Would you consider referencing this in the README? https://github.com/redhat-developer/yaml-language-server/issues/486

inulty avatar Apr 13 '22 13:04 inulty

@inulty Can you issue a PR for the README? Either referencing the issue or with instructions should be fine

gorkem avatar Sep 17 '22 17:09 gorkem