add explicit formatter for cue (#5679)

cuelsp does not support formatting.
Cue language support was added to Helix before
"formatter" was available.

References:
https://github.com/helix-editor/helix/pull/3262
https://github.com/dagger/cuelsp/issues/44
This commit is contained in:
Jimmy Zelinskie 2023-01-25 17:25:08 -05:00 committed by GitHub
parent 56c0810c68
commit 2db879629f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1778,6 +1778,7 @@ auto-format = true
comment-token = "//"
language-server = { command = "cuelsp" }
indent = { tab-width = 4, unit = "\t" }
formatter = { command = "cue", args = ["fmt", "-"] }
[[grammar]]
name = "cue"