mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
Add support for Odin's formatter (#9537)
This commit is contained in:
parent
c111e28a6f
commit
661e123152
@ -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…
Reference in New Issue
Block a user