fortran-lang / fprettify

auto-formatter for modern fortran source code
https://pypi.python.org/pypi/fprettify
Other
368 stars 73 forks source link

Deactivation doesn't disable indentation #169

Open wpbonelli opened 5 months ago

wpbonelli commented 5 months ago

Formatting is not entirely deactivated between !&< and !&> — auto-indentation is still applied. Is this the intended behavior? Naively I'd expect fprettify to do nothing to deactivated lines.

I am happy to submit a patch to disable indentation between the tags and on lines ending with !& if this is a bug. If on the other hand fprettify is behaving as expected, it would be nice to have a way to disable indentation for code regions somehow.