feat(kdl): add kdlfmt as formatter for kdl (#12967)

This commit is contained in:
Daniel Fichtinger 2025-02-26 18:50:36 -05:00 committed by GitHub
parent 1dd8a19ad6
commit c36408457a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2726,6 +2726,7 @@ file-types = ["kdl"]
comment-token = "//" comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" } block-comment-tokens = { start = "/*", end = "*/" }
injection-regex = "kdl" injection-regex = "kdl"
formatter = { command = "kdlfmt", args = ["format", "-"] }
[[grammar]] [[grammar]]
name = "kdl" name = "kdl"