Skip to content

Commit 25bed36

Browse files
authored
Add nu formatter nufmt (#15066)
1 parent 43141da commit 25bed36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

languages.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2493,6 +2493,8 @@ shebangs = ["nu"]
24932493
comment-token = "#"
24942494
indent = { tab-width = 2, unit = " " }
24952495
language-servers = [ "nu-lsp" ]
2496+
formatter = { command = "nufmt", args = ["--stdin"] } # https://github.com/nushell/nufmt
2497+
auto-format = false
24962498

24972499
[[grammar]]
24982500
name = "nu"

0 commit comments

Comments
 (0)