lib/lookbook/lang.rb in lookbook-0.4.6 vs lib/lookbook/lang.rb in lookbook-0.4.7

- old
+ new

@@ -3,30 +3,35 @@ class << self LANGUAGES = [ { name: "ruby", ext: ".rb", - label: "Ruby" + label: "Ruby", + comment: "# %s" }, { name: "html", ext: ".html", - label: "HTML" + label: "HTML", + comment: "<!-- %s -->" }, { name: "erb", ext: ".erb", - label: "ERB" + label: "ERB", + comment: "<%%# %s %%>" }, { name: "haml", ext: ".haml", - label: "Haml" + label: "Haml", + comment: "<!-- %s -->" }, { name: "slim", ext: ".slim", - label: "Slim" + label: "Slim", + comment: "<!-- %s -->" } ] def find(name) LANGUAGES.find { |l| l[:name] == name.to_s }