Skip to content

Use MathWorks MATLAB grammar for syntax highlighting

Compare
Choose a tag to compare
@thedavidprice thedavidprice released this 09 Aug 04:04
· 34 commits to master since this release
  1. Remove travis.yml
  2. added MIT license
  3. Migrated MATLAB to MathWorks TextMate Grammar for Matlab
    FIXES:
    • Double quoted strings are supported properly
    • Comments after a line continuation are supported: foo(x, ... comment
    • Command dual syntax shows arguments a strings cmd stringArg1 stringArg2
    • Variables are no longer all highlighted red
    • Known function names, like fprintf, show in purple like other keywords rather than in red like nearly everything in existing grammar
    • Control flow keywords like elseif, else, case, catch are properly highlighted where they are not in the current grammar
    • Bug with %% namely 2 percent symbols followed by a space on a newline treats next line as a comment