From e363c68a4d0a3622bbb84ac6adf565c6bd6ebada Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 5 Feb 2024 23:24:54 +0000 Subject: [PATCH] Update languages.toml --- languages.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index 11afea0cad29..33ccf88c7faa 100644 --- a/languages.toml +++ b/languages.toml @@ -1897,13 +1897,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"