Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/315234/SublimeFortran
Browse files Browse the repository at this point in the history
  • Loading branch information
315234 committed Jun 21, 2016
2 parents ae7b0ea + 7055677 commit 8ef575a
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,34 +20,44 @@ Features:

Pull requests are welcome :)

## Disabling rulers ##

The Fixed Form Fortran syntax included in this package sets some rulers to help code indentation and show where the 72 character limit is. If you find these distracting, they can be disabled by creating a language specific settings file.

To do this, create a file called `FortranFixedForm.sublime-settings` in your `Packages/User/` containing the following:
```JSON
{
"rulers": []
}
```




## Using the linter ##

This package includes a linter based on SublimeLinter3. SublimeLinter user settings can be modified by selecting `SublimeLinter Settings - User` from the Command Palette.

You may need to tell SublimeLinter where `gfortran` is located by adding it to `paths` in SublimeLinter user settings:

```
```JSON
{
"user": {
...
"paths": {
"linux": [],
"osx": [
"/usr/local/bin"
],
"windows": []
},
...
}
}
```
Additional command line flags for `gfortran` may be also specified:
```
```JSON
{
"user": {
"linters": {
...
"gfortranfixedform": {
"@disable": false,
"args": [
Expand All @@ -65,9 +75,7 @@ Additional command line flags for `gfortran` may be also specified:
],
"excludes": []
},
...
},
...
}
}
```
Expand Down

0 comments on commit 8ef575a

Please sign in to comment.