Skip to content

Commit 8b6e165

Browse files
committed
adding nushell formatting support
1 parent a63f220 commit 8b6e165

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

config/lua/plugins/misc.lua

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,19 @@ return {
1414
end,
1515
event = { "InsertEnter" },
1616
},
17+
{
18+
"stevearc/conform.nvim",
19+
event = "VeryLazy",
20+
opts = {
21+
formatters_by_ft = {
22+
nu = { "topiary_nu" },
23+
},
24+
formatters = {
25+
topiary_nu = {
26+
command = "topiary",
27+
args = { "format", "--language", "nu" },
28+
},
29+
},
30+
},
31+
},
1732
}

0 commit comments

Comments
 (0)