Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lsp: Enable formatting functionality (#643)
In #641 support was added to handle textDocument/formatting requests from clients. However, the functionality was disabled for fear that users would see a confusing message: #638 (comment) In open-policy-agent/vscode-opa#148 the regal formatter will be used if the user has enabled regal and opa fmt will be used if not. This means that there is only ever one formatter available for rego and the user will see no message. Signed-off-by: Charlie Egan <[email protected]>
- Loading branch information