dparkins / language-fortran

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

"!" does not highlight the line as a comment #50

Closed anupshrestha closed 9 years ago

anupshrestha commented 9 years ago

Using an exclamation (!) character to comment code does not highlight the code as comment

tomedunn commented 9 years ago

Are you working in a .f or .f90 file? .f files use the punchcard - fortran grammar which follows the 1977 standard and doesn't include ! as a comment character. If this is the case you can either work with .f90 files or you can associate .f files with the modern - fortran grammar following the instruction in issue #49.

anupshrestha commented 9 years ago

I am working with a .f file. Thank you for the quick response.

tomedunn commented 9 years ago

Glad I could help! Since you're not the first person who's asked for this I'll make a note to update README.md to explain this.