![Syntax Tests](https://github.com/eirik-kjonstad/modern-fortran-syntax/workflows/Syntax%20Tests/badge.svg) ![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/eirik-kjonstad/modern-fortran-syntax) ![Package Control](https://img.shields.io/packagecontrol/dt/ModernFortran?label=Package%20Control) # Modern-Fortran syntax Modern-Fortran is a [Sublime Text](https://www.sublimetext.com/) language syntax for highlighting of Fortran code. It highlights modern Fortran (Fortran 90 and newer) and incorporates features introduced in Fortran 2003, 2008, and 2018. ## Installation via Package Control The easiest way to get the syntax is to install the package *ModernFortran* with [Package Control](https://packagecontrol.io/). After installation, you can enable the syntax with `ctrl+shift+p` (`cmd+shift+p` on Mac) followed by `Set syntax: Modern-Fortran`. ## Manual installation from source The syntax can also be installed manually. Open the terminal and navigate to where packages are installed: ```shell # Default location on Ubuntu cd /home/username/.config/sublime-text/Packages ``` The location on your computer can be found via `Preferences -> Browse packages...`. Next, clone the repository: ```shell git clone https://github.com/eirik-kjonstad/modern-fortran-syntax.git ``` Alternatively, you can download the source code as a `.zip` and extract the contents in the Packages folder. ## Notice bugs, missing features, or other problems? Do not hesitate to post an issue in the `issues` tab on the repository! If you wish to contribute, we also welcome pull requests. Please fork the repository and open a pull request with your suggested modifications.