mirror of https://github.com/helix-editor/helix
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/44pull/4408/head
parent
56c0810c68
commit
2db879629f
|
@ -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…
Reference in New Issue