Wikia

Vim Tips Wiki

Watchlist Recent changes

Fortran highlighting problems

Redirected from VimTip449

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

Pages on Vim Tips Wiki

Add a Page
1,586pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
71photos on this wiki
See more >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki