vim doesn't recognize columns beyond 72 with fortran90 code

前端 未结 2 992
一个人的身影
一个人的身影 2021-01-05 18:44

I am editing a fortran90 code with vim. Note that I\'m working with a *.f90 file, not *.f. vim doesn\'t recognize as legitimate code anything beyond column 72. This is an

2条回答
  •  孤独总比滥情好
    2021-01-05 19:40

    This could be related to the 'synmaxcol' variable. If you run

    :set synmaxcol?
    

    In vim's command line, what do you get back? Setting this option higher might fix your issue. It's generally set low as vim can get laggy when syntax highlighting very long lines, such as those found in XML.

提交回复
热议问题