From 2db879629f299007e389ee76826d3bce72f8039a Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Wed, 25 Jan 2023 17:25:08 -0500 Subject: 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--- languages.toml | 1 + 1 file changed, 1 insertion(+) 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" -- cgit v1.2.3-70-g09d2