Vim highlighting weird parts of FORTRAN

前端 未结 3 2089
甜味超标
甜味超标 2021-02-06 02:13

I am using VIM theme molokai, if that makes any difference.

I have been learning FORTRAN lately and when I write a FORTRAN program using VIM, I have weird coloring depen

3条回答
  •  猫巷女王i
    2021-02-06 02:56

    If you search :help fortran, you'll get a list of options that you can set. These are the fortran options I set in my own .vimrc file. (I don't work with fixed-format code though) I know there are one or two fortran specific scripts that are available online, but I don't use them.

    let fortran_free_source=1
    let fortran_have_tabs=1
    let fortran_more_precise=1
    let fortran_do_enddo=1
    

提交回复
热议问题