Skip to content

Commit caf8e2c

Browse files
add attributes
1 parent 64900d8 commit caf8e2c

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.gitattributes

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Handle line endings automatically for files detected as text
2+
# and leave all files detected as binary untouched.
3+
* text=auto
4+
5+
# Binaries
6+
*.nc binary
7+
*.png binary
8+
9+
# Fortran files
10+
*.f text diff=fortran
11+
*.for text diff=fortran
12+
*.f90 text diff=fortran
13+
*.F90 text diff=fortran
14+
*.f95 text diff=fortran
15+
*.f03 text diff=fortran
16+
*.x90 text diff=fortran
17+
*.X90 text diff=fortran
18+
*.t90 text diff=fortran
19+
*.T90 text diff=fortran
20+
*.pf text diff=fortran
21+
*.PF text diff=fortran
22+
23+
# Enable syntax highlighting for files with `.pf` extensions.
24+
#
25+
*.pf linguist-language=fortran-free-form
26+
*.pf linguist-detectable=true
27+
*.pf linguist-documentation=false

0 commit comments

Comments
 (0)