Fandom

Vim Tips Wiki

Fortran highlighting problems

Redirected from VimTip449

1,624pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Tip 449 Printable Monobook Previous Next

created 2003 · complexity basic · author Fabien Bouleau · version 6.0


Sometimes the Fortran syntax files do not set the correct source form which can cause issues with highlighting. In order to fix this issue a user may wish to set the source manually for the .for extension. This can be done by adding the following to the .vimrc file:

au BufRead,BufNewFile *.for let b:fortran_fixed_source=1

CommentsEdit

Also on Fandom

Random Wiki