diff --git a/lib/rouge/lexers/fortran.rb b/lib/rouge/lexers/fortran.rb index 721f38b9a5..6d1030e4b1 100644 --- a/lib/rouge/lexers/fortran.rb +++ b/lib/rouge/lexers/fortran.rb @@ -10,8 +10,8 @@ class Fortran < RegexLexer desc "Fortran 2008 (free-form)" tag 'fortran' - filenames '*.f90', '*.f95', '*.f03', '*.f08', - '*.F90', '*.F95', '*.F03', '*.F08' + filenames '*.f', '*.f90', '*.f95', '*.f03', '*.f08', + '*.F', '*.F90', '*.F95', '*.F03', '*.F08' mimetypes 'text/x-fortran' name = /[A-Z][_A-Z0-9]*/i