Nevensky / SublimeFortran

Fortran syntax highlighting for Sublime Text 3
47 stars 30 forks source link

Disabling tabs as an illegal character #31

Closed joezuntz closed 6 years ago

joezuntz commented 7 years ago

Although tabs are nominally an illegal character in Fortran not even gfortran warns about this any more.

Many people have substantial legacy code that uses tabs it's annoying to have a mass of bright pink highlighting at the start of every line. Is there a way to disable the tab as an illegal character?

manfredo89 commented 7 years ago

Deleting

    # tabs are illegal
    - match: \t
      scope: invalid.illegal.tab.fortran

from the FortranModern.sublime-syntax fix this.

315234 commented 7 years ago

If someone makes a pull request for this I will accept it.

manfredo89 commented 7 years ago

I made a pr