From 0d997149a0472ab811bcfdca5dc45d9db483f949 Mon Sep 17 00:00:00 2001 From: Jinjun Liang Date: Tue, 20 Feb 2024 16:48:01 +1300 Subject: feat: add fantomas formatter (#302) * feat: add fantomas formatter * fantomas: + args * fantomas: + stdin = false --- lua/conform/formatters/fantomas.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lua/conform/formatters/fantomas.lua (limited to 'lua/conform/formatters/fantomas.lua') diff --git a/lua/conform/formatters/fantomas.lua b/lua/conform/formatters/fantomas.lua new file mode 100644 index 0000000..9244feb --- /dev/null +++ b/lua/conform/formatters/fantomas.lua @@ -0,0 +1,10 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://github.com/fsprojects/fantomas", + description = "F# source code formatter.", + }, + command = "fantomas", + args = { "$FILENAME" }, + stdin = false, +} -- cgit v1.2.3-70-g09d2