fortran90 - Vim highlighting weird parts of FORTRAN -
i using vim theme molokai, if makes difference.
i have been learning fortran lately , when write fortran program using vim, have weird coloring depending on whitespace.
for instance, if tab things on (no indenting) have purple highlight on portion of word (sometimes isn't there, notice prints , reads).
if tab on looks normal:
i new vim (not mention fortran) not sure what's happening, don't mind tabbing on time think looks little ridiculous if whole program wasting column of white space.
if search :help fortran
, you'll list of options can set. these fortran options set in own .vimrc file. (i don't work fixed-format code though) know there 1 or 2 fortran specific scripts available online, don't use them.
let fortran_free_source=1 let fortran_have_tabs=1 let fortran_more_precise=1 let fortran_do_enddo=1
Comments
Post a Comment