lib/ruco/syntax_parser.rb in ruco-0.2.0.beta12 vs lib/ruco/syntax_parser.rb in ruco-0.2.0
- old
+ new
@@ -1,10 +1,11 @@
module Ruco
module SyntaxParser
# textpow only offers certain syntax
TEXTPOW_CONVERT = {
'scss' => 'sass',
- 'html+erb' => 'html_rails',
+ 'html+erb' => 'html',
+ 'rhtml' => 'html',
}
def self.syntax_for_line(line, languages)
syntax_for_lines([line], languages).first
end