So you didn't notice the
Code:
setlocal indentexpr=GetPerlIndent()
setlocal indentkeys+=0=,0),0=or,0=and
if !b:indent_use_syntax
setlocal indentkeys+=0=EO
endif
" Only define the function once.
if exists("*GetPerlIndent")
finish
endif
function GetPerlIndent()
" Get the line to be indented
let cline = getline(v:lnum)
" Indent POD markers to column 0
if cline =~ '^\s*=\L\@!'
return 0
endif
" Don't reindent coments on first column
if cline =~ '^#.'
return 0
endif
etc
In the perl.vim file? fortran.vim is being loaded when you start vim if the fortran syntax highlighting is working like you said.
Edit:
just saw your avatar! Al Pitrelli rocks!
pssst click the link in my sig about my avatar.