aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Zelinskie2023-01-25 22:25:08 +0000
committerGitHub2023-01-25 22:25:08 +0000
commit2db879629f299007e389ee76826d3bce72f8039a (patch)
treef430a3256da77154b7c54337f559a88dfb0bace1
parent56c0810c6811df6607c7fe19bc912f419f2650de (diff)
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
-rw-r--r--languages.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 7ca71c8e..ae266dce 100644
--- a/languages.toml
+++ b/languages.toml
@@ -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"