This is a basic syntax highlighter for NONMEM model files written for SublimeText2/3. Currently it supports NONMEM7. It is still buggy (in that it doesn't highlight things perfectly - it won't mess with your code!) but mostly functional. Feel free to make changes and contribute.
- download and install SublimeText3
- download the nm_highlighter repository
- unzip
non.tmLanguage
- Open Sublime and go to
Preferences --> Browse Packages
and it will open a new windows explorer window - Drop in the non.tmLanguage file into the folder that was opened (along the lines of Roaming/Sublime Text 3/Packages on windows)
- Close and re-open Sublime Text. Upon re-opening you can check the syntax highlighter was installed by clicking on the bottom right corner and checking if
nm7
is one of the options.
An example of the syntax highlighter with the default monokai color scheme
Authors: