We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1984133 commit 723d694Copy full SHA for 723d694
README.md
@@ -27,7 +27,28 @@ while the latest release of topiary-cli still uses the other way.
27
28
## usage
29
30
-`topiary format script.nu`
++ `topiary format script.nu`
31
++ neovim: format on save with [conform.nvim](https://github.com/stevearc/conform.nvim):
32
+
33
+```lua
34
+-- lazy.nvim setup
35
+{
36
+ "stevearc/conform.nvim",
37
+ dependencies = { "mason.nvim" },
38
+ event = "VeryLazy",
39
+ opts = {
40
+ formatters_by_ft = {
41
+ nu = { "topiary_nu" },
42
+ },
43
+ formatters = {
44
+ topiary_nu = {
45
+ command = "topiary",
46
+ args = { "format", "--language", "nu" },
47
48
49
50
+},
51
+```
52
53
## contribute
54
0 commit comments