feat(format): add :lang fortran formatter

This commit is contained in:
Ellis Kenyő 2022-08-16 08:28:14 +01:00 committed by Ellis Kenyo
parent 12c901cf28
commit efd5ee00ea
No known key found for this signature in database
GPG key ID: 298BE5D997EBAA02
2 changed files with 7 additions and 2 deletions

View file

@ -35,6 +35,9 @@
:desc "build" "b" #'+fortran/build
:desc "run" "r" #'+fortran/run)
(when (executable-find "fprettify")
(set-formatter! 'fprettify '("fprettify" "-") :modes '(f90-mode fortran-mode)))
(when (modulep! +intel)
(map! :map f90-mode-map
:localleader