Skip to content

Commit

Permalink
Remove "true" from odinfmt line (#11759)
Browse files Browse the repository at this point in the history
The `-stdin` in `odinfmt` does not take any arguments, the `true` part here just confuses the formatter, and makes it ignore `odinfmt.json` file.

Removing it fixes the issue.
  • Loading branch information
Akselmo authored Sep 25, 2024
1 parent f49b18d commit b18a471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2133,7 +2133,7 @@ language-servers = [ "ols" ]
comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" }
indent = { tab-width = 4, unit = "\t" }
formatter = { command = "odinfmt", args = [ "-stdin", "true" ] }
formatter = { command = "odinfmt", args = [ "-stdin" ] }

[language.debugger]
name = "lldb-dap"
Expand Down

0 comments on commit b18a471

Please sign in to comment.