dparkins / language-fortran

Syntax highlighting for FORTRAN for atom
MIT License
35 stars 16 forks source link

Support/highlighting OpenMP Statements #118

Open eirikbrandsaas opened 4 years ago

eirikbrandsaas commented 4 years ago

Hi, it would be useful to include highlighting for the OpenMP command style. See the attached picture. (FWIW: To use openmp commands one starts the line with !$omp, so they get sparsed interpreted as comments)

Picture

tomedunn commented 4 years ago

I had put something together for this a while back which you can find here, https://github.com/tomedunn/language-openmp. I'm sure there are some more modern things missing from it but it should work as a starting point.