aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters/nickel.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/conform/formatters/nickel.lua')
-rw-r--r--lua/conform/formatters/nickel.lua10
1 files changed, 10 insertions, 0 deletions
diff --git a/lua/conform/formatters/nickel.lua b/lua/conform/formatters/nickel.lua
new file mode 100644
index 0000000..e7cbaa4
--- /dev/null
+++ b/lua/conform/formatters/nickel.lua
@@ -0,0 +1,10 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://nickel-lang.org/",
+ description = "Code formatter for the Nickel programming language.",
+ },
+ command = "nickel",
+ stdin = false,
+ args = { "format", "$FILENAME" },
+}