fortran-lang / fprettify

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

Not inserting whitespaces around the derived accessor, % #178

Closed kjnam closed 4 hours ago

kjnam commented 4 hours ago

fprettify inserts whitespaces around the derived accessor, %. This behavior is not desirable. For example,

! Declare
type(t_pair) :: pair
! Initialize
pair%i = 1

becomes

! Declare
type(t_pair) :: pair
! Initialize
pair % i = 1

It would be great if fprettify does not do this. Thanks.

kjnam commented 4 hours ago

Never mind. I found there is an option for this. Thanks.