diff options
author | Trevor Arjeski <tmarjeski@gmail.com> | 2024-02-03 03:02:56 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 16:02:56 -0800 |
commit | 338c3070ae7f7028185ae6123541c2ca71cfe7ff (patch) | |
tree | c35b5a3db1588e23ebaa8ee38000e5752f8f39ac /lua/conform/formatters/awk.lua | |
parent | 8c71a73e47a597d3ec25ebb50492e02be6f3c57d (diff) |
feat: add awk formatter (#286)
Add formatter for awk programs. Surprise! It's awk!
Diffstat (limited to 'lua/conform/formatters/awk.lua')
-rw-r--r-- | lua/conform/formatters/awk.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/awk.lua b/lua/conform/formatters/awk.lua new file mode 100644 index 0000000..00df393 --- /dev/null +++ b/lua/conform/formatters/awk.lua @@ -0,0 +1,9 @@ +---@type conform.FileFormatterConfig +return { + meta = { + url = "https://www.gnu.org/software/gawk/manual/gawk.html", + description = "Format awk programs with awk", + }, + command = "awk", + args = { "-f", "-", "-o-" }, +} |