Skip to content

Commit f60b4d8

Browse files
committed
Add ffmt Fortran formatter
1 parent 4ef3d02 commit f60b4d8

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

data/tools/ffmt.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: ffmt
2+
categories:
3+
- formatter
4+
tags:
5+
- fortran
6+
license: MIT
7+
types:
8+
- cli
9+
source: "https://github.com/sbryngelson/ffmt"
10+
homepage: "https://pypi.org/project/ffmt/"
11+
description: >-
12+
A fast, configurable Fortran formatter with support for Fypp, Doxygen, and
13+
OpenACC/OpenMP directives. Written in Rust, installable via pip.
14+
15+
Handles indentation, whitespace normalization, keyword casing, named ends,
16+
line wrapping, operator modernization (.eq. -> ==), double-colon enforcement,
17+
comment rewrapping and inline spacing, blank line management, and
18+
preprocessor directives (Fypp, C preprocessor, OpenACC, OpenMP).
19+
Opt-in features include multi-statement splitting, assignment alignment,
20+
and use-statement reformatting. Supports LSP, parallel formatting,
21+
stdin/stdout, and CI check mode.

0 commit comments

Comments
 (0)