Vim Tips Wiki


Revision as of 14:55, May 3, 2012 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
1,614pages on
this wiki

Use this page to discuss script 2299 fortran.vim : Additional indentation rules for Fortran 95 and Fortran 90

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.

Bug: Indent of bare "recursive function" does not work properly

To fix this, change line 57 in fortran.vim from

if line =~? '^\s*\(\(recursive\s*\)\=pure\|elemental\)\=\s*subroutine'


if line =~? '^\s*\(recursive\s*\)\=\(pure\|elemental\)\=\s*subroutine'


Around Wikia's network

Random Wiki