Skip to content

eirik-kjonstad/modern-fortran-syntax

Repository files navigation

Syntax Tests GitHub release (latest SemVer) Package Control

Modern-Fortran syntax

Modern-Fortran is a Sublime Text 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.

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:

# 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:

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.