mirror of
https://github.com/helix-editor/helix.git
synced 2025-10-05 16:03:18 +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 = " " }
|
||||
language-servers = [ "yaml-language-server", "ansible-language-server" ]
|
||||
injection-regex = "yml|yaml"
|
||||
formatter = { command = "yamlfmt", args = ['-'] }
|
||||
auto-format = true
|
||||
|
||||
[[grammar]]
|
||||
name = "yaml"
|
||||
|
Reference in New Issue
Block a user