Add support for Odin's formatter (#9537)

This commit is contained in:
Chris 2024-02-12 16:49:04 +00:00 committed by GitHub
parent c111e28a6f
commit 661e123152
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1923,13 +1923,14 @@ source = { git = "https://github.com/fvacek/tree-sitter-cpon", rev = "0d01fcdae5
[[language]]
name = "odin"
auto-format = false
auto-format = true
scope = "source.odin"
file-types = ["odin"]
roots = ["ols.json"]
language-servers = [ "ols" ]
comment-token = "//"
indent = { tab-width = 4, unit = "\t" }
formatter = { command = "odinfmt", args = [ "-stdin", "true" ] }
[[grammar]]
name = "odin"