There was a very useful answer on how to highlight openmp directives in Fortran code ( Vim syntax highlighting for multi-line fortran openmp directives ). So strings like
!$omp parallel
no longer stand out as comments.
It would also be nice to get vim not to consider lines starting with " !$" as comments , i.e. in type constructions
nThreads = 1
I want to highlight !$how fortrandirective, and the rest of the last line is highlighted normally.
source
share