The maximum height of the logo should be 200 pixels.
November 13, 2021 ยท View on GitHub
#+TITLE: Fortran layer #+TAGS: layer|programming|dsl
The maximum height of the logo should be 200 pixels.
[[img/fortran.png]]
TOC links should be GitHub style anchors.
- Table of Contents :TOC_4_gh:noexport:
- [[#description][Description]]
- [[#features][Features]]
- [[#install][Install]]
- [[#layer][Layer]]
- [[#dependencies][Dependencies]]
- [[#code-formatting][Code formatting]]
- [[#lint][Lint]]
- [[#key-bindings][Key bindings]]
- Description This layer adds support for fortran programming language.
** Features
- Code formatting using [[https://github.com/pseewald/fprettify][fprettify]]
- Lint using [[https://www.flycheck.org/en/latest/][flycheck]]
- Syntax highlithing with [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Fortran.html][f90-mode]]
- Install ** Layer To use this configuration layer, you should clone and then symlink it into your spacemacs private folder:
#+begin_src sh ln -s /path/where/you/cloned/the/repo ~/.emacs.d/private/fortran #+end_src
Now, you can add it to your =~/.spacemacs=. You will need to add =fortran= to the existing =dotspacemacs-configuration-layers= list in this file. ** Dependencies *** Code formatting =fprettify= must be available in the path, install it using:
#+begin_src sh pip install fprettify #+end_src
*** Lint =gfortran= must be available in the path, install it using your package manager.
- Key bindings
| Key Binding | Description |
|-------------+----------------|
| SPC m = | Format buffer |