eirik-kjonstad / modern-fortran-syntax

Modern Fortran syntax highlighting for Sublime Text 3/4
MIT License
10 stars 2 forks source link

Variable declarations only recognize initial type keyword (e.g. real) when :: is reached #55

Closed eirik-kjonstad closed 3 years ago

eirik-kjonstad commented 3 years ago

When typing incomplete statements of the type

real(8), dimension(:,:), allocatable :: myArray

the syntax recognizes "real" correctly when :: is reached but not before that point is reached.

This can lead to some annoying color changes in many color schemes.