diff options
author | Mads Hougesen <mads@mhouge.dk> | 2024-06-24 13:10:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 07:10:54 -0400 |
commit | 241c892b265f7a5906584b34c5be36b48c09a4b8 (patch) | |
tree | 75fec691991aa05d562bb90d14c95afb0fdba7a8 /lua/conform/formatters | |
parent | 93d1e99d5280373657cc63165b25b3a7a7b3c8f0 (diff) |
feat: support nickel format (#476)
Diffstat (limited to 'lua/conform/formatters')
-rw-r--r-- | lua/conform/formatters/nickel.lua | 10 |
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" }, +} |