Skip to content
Snippets Groups Projects
Verified Commit a7db127b authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Emacs mode improvements

* Font locking (colorization)
  - all keywords for statements and blocks are now recognized (but not option names)
  - MATLAB-style (single-quoted) strings now recognized
  - improve handling of macroprocessor (but multiline macro commands/exprs not
    yet working)
  - recognize mathematical functions and constants (nan and inf)
  - highlight the pound-sign for model-local variables

* Indentation
  - basic indentation within blocks (offset customizable through option)
  - more elaborate indentation (e.g. multiline equations or statements) not yet
    working
parent 29daae72
No related branches found
No related tags found
No related merge requests found
Pipeline #926 passed with warnings