Skip to content

Commit fe1312d

Browse files
committed
fortran file extensions
1 parent 9ced9c0 commit fe1312d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/coderay/scanners/fortran.rb

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ class Fortran < Scanner
66

77
register_for :fortran
88

9+
# file extensions: f, f95, f03, f77, F90, inc (uppercase or lowercase)
10+
file_extension 'f'
11+
912
include Streamable
1013

1114
KEYWORDS = %w[

0 commit comments

Comments
 (0)