From 241c892b265f7a5906584b34c5be36b48c09a4b8 Mon Sep 17 00:00:00 2001 From: Mads Hougesen Date: Mon, 24 Jun 2024 13:10:54 +0200 Subject: feat: support nickel format (#476) --- lua/conform/formatters/nickel.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lua/conform/formatters/nickel.lua (limited to 'lua') 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" }, +} -- cgit v1.2.3-70-g09d2