on master help sign in
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

commit2db879629f299007e389ee76826d3bce72f8039a authorJimmy Zelinskie <jimmy@zelinskie.com> dateWed 25 Jan 2023, 17:25 (4 years ago) parent56c0810
1 file changed+1
languages.toml+1
languages.toml+1
@@ -1778,6 +1778,7 @@ auto-format = true
17781778comment-token = "//"
17791779language-server = { command = "cuelsp" }
17801780indent = { tab-width = 4, unit = "\t" }
1781+formatter = { command = "cue", args = ["fmt", "-"] }
17811782
17821783[[grammar]]
17831784name = "cue"