Hello Ben,
Thanks for the reply.
Odd enough, when I "create" a file by the command
$ vim test.f
":verbose set filetype" gives
filetype=fortran
Last set from /usr/share/vim/vim73/filetype.vim
But the colorings are off just like snap1.png
The ":verbose" output is also the same if I "reopen" an already existing fortran file by "$ vim existed.f" but the colorings will be correct instead.
So I'd assume Vim chooses the right file type.
Here is the output from :version,
|VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Sep 16 2012 04:12:21)
|Included patches: 1-547
|Modified by pkg-vim-m...@lists.alioth.debian.org
|Compiled by jame...@debian.org
Since Vim does detect the correct file type, then what might be causing Vim to incorrectly render some of the codes (Such as "print *" is rendered correctly but not "program")? I'd assume Vim syntax files do not apply different colorings for newly created files and opening existing files right?
Thank you,
Paul.
Thank you for your spread of knowledge Mr. Campbell. I will look into more about this "fixed" and "free" forms and the reasons behind these forms.