mirror of
https://github.com/helix-editor/helix.git
synced 2025-10-06 00:13:28 +02:00
feat: add yamlfmt as default yaml formatter (#13310)
This commit is contained in:
committed by
GitHub
parent
f72b6f758b
commit
8dbc664a30
@@ -1475,6 +1475,8 @@ comment-token = "#"
|
|||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
language-servers = [ "yaml-language-server", "ansible-language-server" ]
|
language-servers = [ "yaml-language-server", "ansible-language-server" ]
|
||||||
injection-regex = "yml|yaml"
|
injection-regex = "yml|yaml"
|
||||||
|
formatter = { command = "yamlfmt", args = ['-'] }
|
||||||
|
auto-format = true
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "yaml"
|
name = "yaml"
|
||||||
|
Reference in New Issue
Block a user