Add support for Odin's formatter (#9537)

pull/9613/head
Chris 4 months ago committed by GitHub
parent c111e28a6f
commit 661e123152
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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"

Loading…
Cancel
Save