aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters
diff options
context:
space:
mode:
authorMahan <mahan.rahmati@protonmail.com>2023-08-27 20:04:08 +0000
committerGitHub <noreply@github.com>2023-08-27 13:04:08 -0700
commit446aa570048586f9c13f1ea88e280567f336691e (patch)
tree9ab253d139f8d8f2dff51aee59c97a16ed33c59d /lua/conform/formatters
parentf86cd7f475d5b0d3ab0b0b57b8edaa06ac911e0b (diff)
feat: new formatter: fish_indent (#5)
* feat: add fish_indent * feat: update readme to add fish_indent
Diffstat (limited to 'lua/conform/formatters')
-rw-r--r--lua/conform/formatters/fish_indent.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/lua/conform/formatters/fish_indent.lua b/lua/conform/formatters/fish_indent.lua
new file mode 100644
index 0000000..1501072
--- /dev/null
+++ b/lua/conform/formatters/fish_indent.lua
@@ -0,0 +1,8 @@
+---@type conform.FormatterConfig
+return {
+ meta = {
+ url = "https://fishshell.com/docs/current/cmds/fish_indent.html",
+ description = "Indent or otherwise prettify a piece of fish code.",
+ },
+ command = "fish_indent",
+}