Skip to content

Commit 990d1eb

Browse files
committed
Merge pull request rubychan#146 from rubychan/ruby-file-types
additional Ruby files types
2 parents 64ca2ae + ae1969b commit 990d1eb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/coderay/helpers/file_type.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def shebang filename
116116
'rhtml' => :erb,
117117
'rjs' => :ruby,
118118
'rpdf' => :ruby,
119-
'ru' => :ruby,
119+
'ru' => :ruby, # config.ru
120120
'rxml' => :ruby,
121121
'sass' => :sass,
122122
'sql' => :sql,
@@ -140,6 +140,9 @@ def shebang filename
140140
'Rakefile' => :ruby,
141141
'Rantfile' => :ruby,
142142
'Gemfile' => :ruby,
143+
'Guardfile' => :ruby,
144+
'Vagrantfile' => :ruby,
145+
'Appraisals' => :ruby
143146
}
144147

145148
end

0 commit comments

Comments
 (0)