summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkpbaks2024-02-09 20:39:50 +0000
committerBlaž Hrastnik2024-02-12 16:47:36 +0000
commit0eec518ff68072071d595b4a297080add11738e3 (patch)
tree668177576affbab83a9312f05988f15f2fddf02e
parent45ee568b98dc8c045d1a1bdaea833457b8b7d926 (diff)
feat(languages): add formatter for just
-rw-r--r--languages.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index d7b8e0d9..f99e1a63 100644
--- a/languages.toml
+++ b/languages.toml
@@ -2814,6 +2814,8 @@ file-types = [{ glob = "justfile" }, { glob = "Justfile" }, { glob = ".justfile"
injection-regex = "just"
comment-token = "#"
indent = { tab-width = 4, unit = "\t" }
+auto-format = true
+formatter = { command = "just", args = ["--dump"] }
[[grammar]]
name = "just"