Skip to content

Commit

Permalink
add explicit formatter for cue (#5679)
Browse files Browse the repository at this point in the history
cuelsp does not support formatting.
Cue language support was added to Helix before
"formatter" was available.

References:
#3262
dagger/cuelsp#44
  • Loading branch information
jzelinskie authored Jan 25, 2023
1 parent 56c0810 commit 2db8796
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2db8796

Please # to comment.