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
pull/4408/head
Jimmy Zelinskie 2 years ago committed by GitHub
parent 56c0810c68
commit 2db879629f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save