summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--doc/conform.txt1
-rw-r--r--lua/conform/formatters/findent.lua9
3 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index eae198e..327a523 100644
--- a/README.md
+++ b/README.md
@@ -220,6 +220,7 @@ You can view this list in vim with `:help conform-formatters`
- [erlfmt](https://github.com/WhatsApp/erlfmt) - An automated code formatter for Erlang.
- [eslint_d](https://github.com/mantoni/eslint_d.js/) - Like ESLint, but faster.
- [fantomas](https://github.com/fsprojects/fantomas) - F# source code formatter.
+- [findent](https://github.com/wvermin/findent) - Indent, relabel and convert Fortran sources.
- [fish_indent](https://fishshell.com/docs/current/cmds/fish_indent.html) - Indent or otherwise prettify a piece of fish code.
- [fixjson](https://github.com/rhysd/fixjson) - JSON Fixer for Humans using (relaxed) JSON5.
- [fnlfmt](https://git.sr.ht/~technomancy/fnlfmt) - A formatter for Fennel code.
diff --git a/doc/conform.txt b/doc/conform.txt
index 24052db..5a9e419 100644
--- a/doc/conform.txt
+++ b/doc/conform.txt
@@ -377,6 +377,7 @@ FORMATTERS *conform-formatter
`cat -s`.
`standardjs` - JavaScript Standard style guide, linter, and formatter.
`standardrb` - Ruby's bikeshed-proof linter and formatter.
+`findent` - Indent, relabel and convert Fortran sources.
`stylelint` - A mighty CSS linter that helps you avoid errors and enforce
conventions.
`styler` - R formatter and linter.
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,
+}