aboutsummaryrefslogtreecommitdiffstats
path: root/lua/conform/formatters
diff options
context:
space:
mode:
authorMads Hougesen <mads@mhouge.dk>2024-06-01 21:09:44 +0200
committerGitHub <noreply@github.com>2024-06-01 12:09:44 -0700
commit969cdf50b011bec08b4fb8bd3ea3031df183501b (patch)
tree57ea29183a25b2e118994b14a347168e16921511 /lua/conform/formatters
parent9140d202b74f84402206b594e417736767a22248 (diff)
feat(fortran): support findent (#426)
* feat: add support for findent * refactor: use stdin instead of file
Diffstat (limited to 'lua/conform/formatters')
-rw-r--r--lua/conform/formatters/findent.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/lua/conform/formatters/findent.lua b/lua/conform/formatters/findent.lua
new file mode 100644
index 0000000..9f3a002
--- /dev/null
+++ b/lua/conform/formatters/findent.lua
@@ -0,0 +1,9 @@
+---@type conform.FileFormatterConfig
+return {
+ meta = {
+ url = "https://github.com/wvermin/findent",
+ description = "Indent, relabel and convert Fortran sources.",
+ },
+ command = "findent",
+ stdin = true,
+}